Phoenix.Optimization
Overview
Class to hold information about an objectiveInheritance

Declaration
Description
Class to hold information about an objectivePublic Member Functions
Properties
Properties inherited from IVariableName
Constructor & Destructor Documentation
Objective()
name- string containing the name of the objective.goal- Goal containing the goal of the objective.
Objective()
objective- Objective to be copied
Objective()
name- string containing the name of the objective.solveForValue- double containing the solve for value for the objective.
Objective()
Goal.SolveFor.
Parameters:
name- string containing the name of the objective.solveForValue- double containing the solve for value for the objective.weight- double containing the relative weight for the objective.
Objective()
name- string containing the name of the objective.goal- Goal containing the goal of the objective.weight- double containing the relative weight for the objective.
Objective()
name- string containing the name of the objective.goal- Goal containing the goal of the objective.weight- double containing the relative weight for the objective.solveForValue- double containing the solve for value for the objective.
Member Function Documentation
Compare
x- Test value 1y- Test value 2
-1ifxis better w/r/t the goal.0if they are the same w/r/t goal.1ifyis better
ConvertSolverForToMinMax
solvefor value, returns a new equivalent objective using an equation and minimize. Otherwise just returns self.
Returns:
- Converted objective
ConvertToSingleObjective
objectives- A list of objectives
- A new collapsed Objective, or null if the list is empty
Equals
obj- The object to compare with the current object.
trueif the specified Object is equal to the current Object; otherwise,false.
Equals
obj- The Objective object to compare with the current Objective.
trueif the specified Objective is equal to the current Objective; otherwise,false.
GetHashCode
- A hash code for the current Objective.
operator!=
a- The first Objective to compare.b- The second Objective to compare.
trueif the Objectives are not considered equal; otherwise,false.
operator==
a- The first Objective to compare.b- The second Objective to compare.
trueif the Objectives are considered equal; otherwise,false.
Goal
Name
SolveForValue
Goal.SolveFor goal.