RBNpackage
Class Atom

java.lang.Object
  extended by RBNpackage.Atom
Direct Known Subclasses:
InstAtom

public class Atom
extends java.lang.Object


Field Summary
 int[] args
           
 Rel rel
           
 
Constructor Summary
Atom()
           
Atom(Rel r, int[] a)
           
Atom(Rel r, int[] a, java.lang.String owner)
           
 
Method Summary
 int[] args()
           
 java.lang.String asString()
           
 java.lang.String asString(RelStruc A)
           
 boolean equals(Atom a)
           
 java.lang.String getOwner()
           
 int hashCode()
           
protected  int hashCodeImpl()
           
 boolean inArgument(int a)
           
 boolean isIdenticalTo(Atom atom)
           
 Rel rel()
          returns the Rel of this atom
 java.lang.String relname()
          Returns the name of the relation of this atom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rel

public Rel rel

args

public int[] args
Constructor Detail

Atom

public Atom()

Atom

public Atom(Rel r,
            int[] a)

Atom

public Atom(Rel r,
            int[] a,
            java.lang.String owner)
Method Detail

args

public int[] args()

getOwner

public java.lang.String getOwner()

equals

public boolean equals(Atom a)

isIdenticalTo

public boolean isIdenticalTo(Atom atom)
Since:
20061020

hashCodeImpl

protected int hashCodeImpl()
Since:
20061020

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object
Since:
20061020

inArgument

public boolean inArgument(int a)

rel

public Rel rel()
returns the Rel of this atom


relname

public java.lang.String relname()
Returns the name of the relation of this atom


asString

public java.lang.String asString()

asString

public java.lang.String asString(RelStruc A)