public static class Synapse.Key extends Object implements Comparable<Synapse.Key>, Writable
| Modifier and Type | Field and Description |
|---|---|
boolean |
identity |
boolean |
isRecurrent |
int |
rangeInput |
Range.Output |
rangeOutput |
| Constructor and Description |
|---|
Key(boolean isRecurrent,
int rangeInput,
Range.Output rangeOutput,
boolean identity) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Synapse.Key k) |
static Synapse.Key |
read(DataInput in,
Model m) |
void |
readFields(DataInput in,
Model m)
Deserialize the fields of this object from
in. |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
public boolean isRecurrent
public int rangeInput
public Range.Output rangeOutput
public boolean identity
public Key(boolean isRecurrent,
int rangeInput,
Range.Output rangeOutput,
boolean identity)
public int compareTo(Synapse.Key k)
compareTo in interface Comparable<Synapse.Key>public static Synapse.Key read(DataInput in, Model m) throws IOException
IOExceptionpublic void write(DataOutput out) throws IOException
Writableout.write in interface Writableout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in, Model m) 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.IOExceptionCopyright © 2018. All rights reserved.