|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.assessment.tbm.Hypothesis
public class Hypothesis
This class represents a hypothesis about a set of atoms and it's probability. Atoms are: 0: user is at competencyLevel NO_COMPETENCY 1: I 2: II 3: III 4: IV Probability is a value in [0,1]: How strong do we believe this hypothesis is correct: (0 - no belief, 1 - absolutely sure)
| Constructor Summary | |
|---|---|
Hypothesis()
|
|
| Method Summary | |
|---|---|
Hypothesis |
deepcopy()
|
long |
getAtoms()
|
int |
getCardinality()
Returns the amount of atoms in the hypothesis |
double |
getProbability()
|
boolean |
hasAtom(long cl)
Does this hypothesis say something about atom cl? |
void |
setAtoms(long atoms)
|
void |
setProbability(double probability)
|
String |
toString()
Returns the bitmask of hypotheses set and the probability set for this hypothesis |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Hypothesis()
| Method Detail |
|---|
public long getAtoms()
public void setAtoms(long atoms)
atoms - the atoms to setpublic double getProbability()
public void setProbability(double probability)
probability - the probability to setpublic boolean hasAtom(long cl)
cl - - the competencyLevel it should say something about
public int getCardinality()
public Hypothesis deepcopy()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||