RBNpackage
Class Atom
java.lang.Object
RBNpackage.Atom
- Direct Known Subclasses:
- InstAtom
public class Atom
- extends java.lang.Object
Constructor Summary |
Atom()
|
Atom(Rel r,
int[] a)
|
Atom(Rel r,
int[] a,
java.lang.String owner)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
rel
public Rel rel
args
public int[] args
Atom
public Atom()
Atom
public Atom(Rel r,
int[] a)
Atom
public Atom(Rel r,
int[] a,
java.lang.String owner)
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)