umbc.ebiquity.BayesOWL.commonDefine
Class LocalConditionalConstraint

java.lang.Object
  extended by umbc.ebiquity.BayesOWL.commonDefine.Constraint
      extended by umbc.ebiquity.BayesOWL.commonDefine.ConditionalConstraint
          extended by umbc.ebiquity.BayesOWL.commonDefine.LocalConditionalConstraint

public class LocalConditionalConstraint
extends ConditionalConstraint

This class implements a local conditional constraint with the form of "R(C|L)", where "L" (a set) contains at least one parent variables of variable C from the Bayesian Belief Network.


Constructor Summary
LocalConditionalConstraint(CondProbDistribution constraint)
          Constructor.
 
Method Summary
 java.lang.String getConceptName()
          This method gets the local concept name in this local conditional constraint.
 int getNumOfParentsInvolved()
          Gets the number of parent concepts involved in this local conditional constraint.
 java.lang.String[] getParentNamesInvolved()
          Gets an array of involved parent names in this local conditional constraint.
 
Methods inherited from class umbc.ebiquity.BayesOWL.commonDefine.ConditionalConstraint
getCondVariableNames, getDistribution, getNumOfCondVariables, getNumOfPriorVariables, getNumOfVariables, getPriorVariableNames, getScopeType, getVariableNames, setScopeType, toString
 
Methods inherited from class umbc.ebiquity.BayesOWL.commonDefine.Constraint
getConstraintType, setConstraintType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalConditionalConstraint

public LocalConditionalConstraint(CondProbDistribution constraint)
Constructor. Constructs a local conditional constraint, 'R(C|L)' (L is a non-empty subset of C's parents, C is a variable). Assume the provided constraint is a legal local conditional constraint. We do not check it's validity here.

Parameters:
constraint - conditional PD
Method Detail

getConceptName

public java.lang.String getConceptName()
This method gets the local concept name in this local conditional constraint.

Returns:
concept name

getNumOfParentsInvolved

public int getNumOfParentsInvolved()
Gets the number of parent concepts involved in this local conditional constraint.

Returns:
parent concept number

getParentNamesInvolved

public java.lang.String[] getParentNamesInvolved()
Gets an array of involved parent names in this local conditional constraint.

Returns:
parent names