jInfer

cz.cuni.mff.ksi.jinfer.functionalDependencies
Class SideAnswers

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.functionalDependencies.SideAnswers

public class SideAnswers
extends Object

Class representing path answers of the left and right side of the functional dependency.


Constructor Summary
SideAnswers()
           
 
Method Summary
 List<PathAnswer> getLeftside()
          Get path answers for the left side.
 List<PathAnswer> getRightside()
          Get path answers for the right side.
 List<PathAnswer> getSide(boolean left)
          Get path answers of some side.
 boolean hasLeft()
          Check if have answers for the left side.
 boolean hasRight()
          Check if have answers for the right side.
 void setLeftside(List<PathAnswer> leftside)
          Set path answers of the left side of the functional dependency.
 void setRightside(List<PathAnswer> rightside)
          Set path answers of the rights side of the functional dependency.
 void setSide(List<PathAnswer> fDSidePathAnswers, boolean isLeft)
          Set answers of particular side.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SideAnswers

public SideAnswers()
Method Detail

setLeftside

public void setLeftside(List<PathAnswer> leftside)
Set path answers of the left side of the functional dependency.

Parameters:
leftside - Path answers for the left side.

setRightside

public void setRightside(List<PathAnswer> rightside)
Set path answers of the rights side of the functional dependency.

Parameters:
rightside - Path answers for the right side.

getLeftside

public List<PathAnswer> getLeftside()
Get path answers for the left side.

Returns:
Path answers for the left side.

getRightside

public List<PathAnswer> getRightside()
Get path answers for the right side.

Returns:
Path answers for the right side.

getSide

public List<PathAnswer> getSide(boolean left)
Get path answers of some side. If left flag is true, it get answers for the left side, otherwise for the right side

Parameters:
left - flag indicating if the left answer will be returned.
Returns:
Path answers of particular side.

hasLeft

public boolean hasLeft()
Check if have answers for the left side.

Returns:
true if have answers for the left side.

hasRight

public boolean hasRight()
Check if have answers for the right side.

Returns:
true if have answers for the right side.

setSide

public void setSide(List<PathAnswer> fDSidePathAnswers,
                    boolean isLeft)
Set answers of particular side. If isLeft is true, left side is set, otherwise right side is set.

Parameters:
fDSidePathAnswers - answers to be set.
isLeft - flag indicating if the left side will be set.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011