org.drools.examples.benchmarks.waltz
Class WaltzWMEL
java.lang.Object
org.drools.event.DefaultWorkingMemoryEventListener
org.drools.examples.benchmarks.waltz.WaltzWMEL
- All Implemented Interfaces:
- java.util.EventListener, WorkingMemoryEventListener
- public class WaltzWMEL
- extends DefaultWorkingMemoryEventListener
A WorkingMemoryEventListener
used to simulate "not"
functionality not currently supported by Drools.
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WaltzWMEL
public WaltzWMEL()
objectAsserted
public void objectAsserted(ObjectAssertedEvent event)
- Specified by:
objectAsserted
in interface WorkingMemoryEventListener
- Overrides:
objectAsserted
in class DefaultWorkingMemoryEventListener
objectModified
public void objectModified(ObjectModifiedEvent event)
- Specified by:
objectModified
in interface WorkingMemoryEventListener
- Overrides:
objectModified
in class DefaultWorkingMemoryEventListener
objectRetracted
public void objectRetracted(ObjectRetractedEvent event)
- Specified by:
objectRetracted
in interface WorkingMemoryEventListener
- Overrides:
objectRetracted
in class DefaultWorkingMemoryEventListener
lineExists
public static boolean lineExists()
edgeExists
public static boolean edgeExists(int p1,
int p2a,
int p2b)
joinedEdgeExists
public static boolean joinedEdgeExists()
plottedEdgeExists
public static boolean plottedEdgeExists()
greaterJunctionExists
public static boolean greaterJunctionExists(int basePoint)
smallerJunctionExists
public static boolean smallerJunctionExists(int basePoint)