[−][src]Trait optlib::Agent
The trait for single point in search space. The trait used with AlgorithmWithAgents
.
T
- type of a point in search space for goal function.
Required methods
fn get_parameter(&self) -> &T
Returns parameter (point in search space) of the agent.
fn get_goal(&self) -> f64
Returns value of a goal function for current agent.