|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectRCNode
RCNodeLeaf
public final class RCNodeLeaf
This class represents Leaf RCNode objects.
Field Summary |
---|
Fields inherited from class RCNode |
---|
isRoot, userDefinedInt |
Constructor Summary | |
---|---|
RCNodeLeaf(RC rc,
FiniteVariable fv)
Warning: by using this constructor you must later call init. |
|
RCNodeLeaf(RC rc,
FiniteVariable fv,
Collection context)
Creates a new RCNodeLeaf. |
Method Summary | |
---|---|
int |
getHeight()
This height is calculated by how many levels of nodes there are, not by how many edges there are between them. |
FiniteVariable |
getLeafVar()
Get the "child" variable of this leaf (family). |
void |
init(Collection acutset,
Collection context,
boolean includeMPE,
ArrayList eo)
Function which should be called if using non-complete constructor. |
void |
initCacheOrder(ArrayList eo)
|
boolean |
isLeaf()
|
Collection |
vars()
|
Collection |
vars(Collection ret)
|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RCNodeLeaf(RC rc, FiniteVariable fv)
public RCNodeLeaf(RC rc, FiniteVariable fv, Collection context)
Method Detail |
---|
public void init(Collection acutset, Collection context, boolean includeMPE, ArrayList eo)
public void initCacheOrder(ArrayList eo)
initCacheOrder
in class RCNode
public final boolean isLeaf()
isLeaf
in class RCNode
public final int getHeight()
RCNode
getHeight
in class RCNode
public final Collection vars()
vars
in class RCNode
public final Collection vars(Collection ret)
vars
in class RCNode
public final FiniteVariable getLeafVar()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |