ClosedCrowdingDistance

Modification of the crowding distance to avoid infinite values for the first and last point in each domain. The crowding for the second and last element of each domain is instead the distance between the first and second (or last and second but last).

Crowding distance computation see Deb, K., Agrawal, S., Pratap, A. & Meyarivan, T. A fast elitist non-dominated sorting genetic algorithm for multi-objective optimization: NSGA-II. Lecture notes in computer science 1917, 849–858 (2000).

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(data: Seq[Seq[Double]]): Seq[Later[Double]]

Compute the closed crowding distance

Compute the closed crowding distance

Value Params
data

the set of point

Returns

the crowding distance of each point in the same order as the input sequence

def of(i: Int, data: Seq[Seq[Double]]): Later[Double]

Compute the closed crowding distance of the i-th point in the data points

Compute the closed crowding distance of the i-th point in the data points

Value Params
data

the set of point

point

the point

Returns

the closed crowding distance of the point relative to the data