Interface IMultiObjectiveIndividual<T>
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Interface for individuals supporting multi-objective optimization.
public interface IMultiObjectiveIndividual<T>
Type Parameters
T
Methods
GetCrowdingDistance()
Gets the crowding distance of the individual.
double GetCrowdingDistance()
Returns
GetObjectiveValues()
Gets the fitness values for multiple objectives.
ICollection<T> GetObjectiveValues()
Returns
- ICollection<T>
GetRank()
Gets the rank of the individual in non-dominated sorting.
int GetRank()
Returns
SetCrowdingDistance(double)
Sets the crowding distance of the individual.
void SetCrowdingDistance(double distance)
Parameters
distancedouble
SetObjectiveValues(ICollection<T>)
Sets the fitness values for multiple objectives.
void SetObjectiveValues(ICollection<T> values)
Parameters
valuesICollection<T>
SetRank(int)
Sets the rank of the individual in non-dominated sorting.
void SetRank(int rank)
Parameters
rankint