edu.udo.cs.ie.cowbots.bdi.brf
Class InformationObject

Package class diagram package InformationObject
java.lang.Object
  extended by edu.udo.cs.ie.cowbots.bdi.brf.InformationObject
All Implemented Interfaces:
java.lang.Comparable<InformationObject>

public class InformationObject
extends java.lang.Object
implements java.lang.Comparable<InformationObject>

this class represents an information object, which is a tuple of an extended logic program and some meta information.


Field Summary
protected  ELP elp
           
protected  Meta meta
           
 
Constructor Summary
InformationObject(ELP e, Meta m)
          constructs an information object from given elp and meta
InformationObject(Literal l, Meta m)
           
 
Method Summary
 int compareTo(InformationObject o)
           
 ELP getELP()
           
 Meta getMeta()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elp

protected ELP elp

meta

protected Meta meta
Constructor Detail

InformationObject

public InformationObject(ELP e,
                         Meta m)
constructs an information object from given elp and meta

Parameters:
e - initial elp
m - initial meta information

InformationObject

public InformationObject(Literal l,
                         Meta m)
Method Detail

getMeta

public Meta getMeta()

getELP

public ELP getELP()

compareTo

public int compareTo(InformationObject o)
Specified by:
compareTo in interface java.lang.Comparable<InformationObject>

toString

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