All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class designer.Selector

java.lang.Object
   |
   +----designer.Selector

public class Selector
extends Object
Purpose: Provide framework for the Selector in the design system


Constructor Index

 o Selector(String)
Purpose: Constructor
Pre: none

Method Index

 o execute(Vector)
Purpose: Runs the selector class, calls all the plans in the plan list and
their associated sponsor to find the best plan.
 o getName()
Purpose: Gets the name of the Selector
Pre: none
Post: returns name of selector

Constructors

 o Selector
 public Selector(String name)
Purpose: Constructor
Pre: none

Methods

 o execute
 public boolean execute(Vector planList)
Purpose: Runs the selector class, calls all the plans in the plan list and
their associated sponsor to find the best plan. It then sorts the return
values from the sponsor and runs the first plan in the sorted plan list
Pre: PlanList != null
Post: The plan with the highest return value is executed

 o getName
 public String getName()
Purpose: Gets the name of the Selector
Pre: none
Post: returns name of selector


All Packages  Class Hierarchy  This Package  Previous  Next  Index