org.encog.ml.graph
Class EuclideanNode

java.lang.Object
  extended by org.encog.ml.graph.BasicNode
      extended by org.encog.ml.graph.EuclideanNode

public class EuclideanNode
extends BasicNode


Constructor Summary
EuclideanNode(String label, double[] d)
           
EuclideanNode(String label, double x, double y)
           
 
Method Summary
static double distance(EuclideanNode p1, EuclideanNode p2)
           
 double[] getData()
           
 
Methods inherited from class org.encog.ml.graph.BasicNode
connect, getBackConnections, getConnections, getCost, getLabel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EuclideanNode

public EuclideanNode(String label,
                     double[] d)

EuclideanNode

public EuclideanNode(String label,
                     double x,
                     double y)
Method Detail

getData

public double[] getData()

distance

public static double distance(EuclideanNode p1,
                              EuclideanNode p2)


Copyright © 2014. All Rights Reserved.