|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jaga.pj.circuits.experiment.AndFunction
Constructor Summary | |
AndFunction()
Creates new AndFunction |
Method Summary | |
int |
getNumOfInputs()
returns the amount of inputs needed to compute this function |
boolean |
getResult(boolean[] inputs)
returns the result of this function given the inputs in the array |
SampleData[] |
getTestData()
returns a set of BitSets providing a good set of input samples to test this function. |
void |
setRandomSeed(long seed)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AndFunction()
Method Detail |
public boolean getResult(boolean[] inputs)
getResult
in interface BooleanFunction
inputs
- what values the inputs to the function havepublic int getNumOfInputs()
BooleanFunction
getNumOfInputs
in interface BooleanFunction
public SampleData[] getTestData()
getTestData
in interface BooleanFunction
public void setRandomSeed(long seed)
setRandomSeed
in interface BooleanFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |