AHA
Class Generate
java.lang.Object
|
+--AHA.Generate
- public class Generate
- extends java.lang.Object
The class Generate is used for generating knowledge for a user.
The GenerateList class provides the knowledge generation clauses.
Constructor Summary |
Generate(AHA AHA,
java.lang.String name,
int perc,
boolean ceil)
|
Method Summary |
void |
print(java.lang.Object s)
|
void |
println(java.lang.Object s)
|
int |
roundDouble(double d)
roundDouble returns the ceiling of floor of a double, depending
on the boolean "ceil" field. |
void |
updateChildren()
Update knowledge of the children of this concept (name) |
void |
updateKnowledge()
Update knowledge of this concept (name) |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Generate
public Generate(AHA AHA,
java.lang.String name,
int perc,
boolean ceil)
throws AhaException
println
public void println(java.lang.Object s)
print
public void print(java.lang.Object s)
updateKnowledge
public void updateKnowledge()
- Update knowledge of this concept (name)
updateChildren
public void updateChildren()
throws AhaException
- Update knowledge of the children of this concept (name)
roundDouble
public int roundDouble(double d)
- roundDouble returns the ceiling of floor of a double, depending
on the boolean "ceil" field.