C# Class SharpNeat.Core.CoordinateVector

General purpose representation of a point in a multidimensional space. A vector of coordinates, each coordinate defining the position within a dimension/axis defined by an ID.
Mostra file Open project: colgreen/sharpneat Class Usage Examples

Public Methods

Method Description
CoordinateVector ( double>.KeyValuePair coordElemArray ) : System.Collections.Generic

Constructs a CoordinateVector using the provided array of ID/coordinate pairs. CoordinateVector elements must be sorted by ID.

Private Methods

Method Description
IsSorted ( double>.KeyValuePair coordElemArray ) : bool

Method Details

CoordinateVector() public method

Constructs a CoordinateVector using the provided array of ID/coordinate pairs. CoordinateVector elements must be sorted by ID.
public CoordinateVector ( double>.KeyValuePair coordElemArray ) : System.Collections.Generic
coordElemArray double>.KeyValuePair
return System.Collections.Generic