CrowdingDistance

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: Vector[Vector[Double]], random: Random): Vector[Double]

Compute the crowding distance

Compute the crowding distance

Value Params
data

the set of point

Returns

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