edu.udo.cs.ie.cowbots.logic
Class KRule

Package class diagram package KRule
java.lang.Object
  extended by edu.udo.cs.ie.cowbots.logic.KRule
Direct Known Subclasses:
KCausationRule, KExCondition

public abstract class KRule
extends java.lang.Object


Field Summary
(package private)  java.util.ArrayList<ELPLiteral> afterPart
           
(package private)  java.util.ArrayList<ELPLiteral> ifPart
           
 
Constructor Summary
KRule()
           
 
Method Summary
 void addAfter(ELPLiteral newAfter)
           
 void addIf(ELPLiteral newIf)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ifPart

java.util.ArrayList<ELPLiteral> ifPart

afterPart

java.util.ArrayList<ELPLiteral> afterPart
Constructor Detail

KRule

public KRule()
Method Detail

addIf

public void addIf(ELPLiteral newIf)

addAfter

public void addAfter(ELPLiteral newAfter)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object