Trait ew::Agent [−][src]
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
[src]
Returns parameter (point in search space) of the agent.
fn get_goal(&self) -> f64
[src]
Returns value of a goal function for current agent.