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
-
Selector(String)
-
Purpose: Constructor
Pre: none
-
execute(Vector)
- Purpose: Runs the selector class, calls all the plans in the plan list and
their associated sponsor to find the best plan.
-
getName()
- Purpose: Gets the name of the Selector
Pre: none
Post: returns name of selector
Selector
public Selector(String name)
- Purpose: Constructor
Pre: none
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
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