class: Neighbours

public class: Neighbours
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 14.12.2005 23:10:37; Modified: 14.12.2005 23:25:43;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {AB81177F-E5D7-4c10-ADAF-91EC716CD32A}
List of neighbours with distance from winner

 

Goto: Fields, Methods

See also: KohonenNetwork

Appears in: CD Kohonen network

Connections
 
Neighbours Attributes
Attribute Details
private ArrayList
  list
Initial: new ArrayList()
 
Neighbours Methods
Operation Details
public
Neighbours():
Notes: constructor of class Neighbours
public
Add(
   Neighbour neuron):void
Notes: Add one neuron to list
public
Count():int
<<property>>
Notes: Count of neurons
public
AddIfNotExist(
   int index,
   int distance):bool
Notes: Add "Neighbour" with index and distanc to list, if not exist Neighbour with the same index

@returns return true if not exist neuron in list with index, else false
public
Exist(
   int index):bool
Notes: Return true in neuron with index is in list, else false

@returns true if exist in list, else false
public
GetNeighbours():Neighbour
Notes: return list of neighbours

@returns
public
this(
   int index):Neighbour
<<indexer>>
Notes: indexer for Neighbour