org.drools.examples.benchmarks.waltz.model
Class Junction

java.lang.Object
  extended byorg.drools.examples.benchmarks.waltz.model.Junction

public class Junction
extends java.lang.Object

Junctions are defined by 4 points. The basepoint is where the 3 (2) lines intersect. The points p1, p2, p3 are the other endpoints of the lines at this junction. (literalize junction p1 p2 p3 base_point type)

 

Constructor Summary
Junction(int p1, int p2, int p3, int basePoint, java.lang.String type)
           
 
Method Summary
 int getBasePoint()
           
 int getP1()
           
 int getP2()
           
 int getP3()
           
 java.lang.String getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Junction

public Junction(int p1,
                int p2,
                int p3,
                int basePoint,
                java.lang.String type)
Method Detail

getP1

public int getP1()

getP2

public int getP2()

getP3

public int getP3()

getBasePoint

public int getBasePoint()

getType

public java.lang.String getType()

toString

public java.lang.String toString()