| Modifier and Type | Class and Description |
|---|---|
static class |
Model.Statistic |
| Modifier and Type | Field and Description |
|---|---|
Set<Node>[] |
allNodes |
Map<Integer,Node> |
initialNodes |
int[] |
iterationCounter |
Map<String,Neuron> |
labeledNeurons |
int[] |
lastCleanup |
Map<Integer,Neuron> |
neurons |
int |
numberOfPositions |
Set<AndNode> |
numberOfPositionsQueue |
int |
numberOfThreads |
Model.Statistic |
stat |
| Modifier and Type | Method and Description |
|---|---|
String |
networkWeightsToString(boolean all) |
static Model |
read(DataInput in) |
void |
readFields(DataInput in,
Iteration t)
Deserialize the fields of this object from
in. |
void |
reset() |
void |
resetFrequency() |
Iteration |
startIteration(Document doc,
int threadId) |
String |
toString() |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
public int numberOfThreads
public int[] lastCleanup
public int[] iterationCounter
public Model.Statistic stat
public volatile int numberOfPositions
public void reset()
public void resetFrequency()
public String networkWeightsToString(boolean all)
public void write(DataOutput out) throws IOException
Writableout.write in interface Writableout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in, Iteration t) throws IOException
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.IOExceptionpublic static Model read(DataInput in) throws IOException
IOExceptionCopyright © 2017. All rights reserved.