Package network.aika.lattice.refinement
Class Refinement
- java.lang.Object
-
- network.aika.lattice.refinement.Refinement
-
- All Implemented Interfaces:
Comparable<Refinement>,Writable
public class Refinement extends Object implements Comparable<Refinement>, Writable
- Author:
- Lukas Molzberger
-
-
Field Summary
Fields Modifier and Type Field Description Provider<InputNode>inputRelationsMaprelations
-
Constructor Summary
Constructors Constructor Description Refinement(RelationsMap relations, Provider<InputNode> input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Refinement ref)booleancontains(Refinement ref, RefValue rv)booleanisConvertible()static Refinementread(DataInput in, Model m)voidreadFields(DataInput in, Model m)Deserialize the fields of this object fromin.StringtoString()voidwrite(DataOutput out)Serialize the fields of this object toout.
-
-
-
Field Detail
-
relations
public RelationsMap relations
-
-
Constructor Detail
-
Refinement
public Refinement(RelationsMap relations, Provider<InputNode> input)
-
-
Method Detail
-
isConvertible
public boolean isConvertible()
-
write
public void write(DataOutput out) throws IOException
Description copied from interface:WritableSerialize the fields of this object toout.- Specified by:
writein interfaceWritable- Parameters:
out-DataOuputto serialize this object into.- Throws:
IOException
-
readFields
public void readFields(DataInput in, Model m) throws IOException
Description copied from interface:WritableDeserialize the fields of this object fromin.For efficiency, implementations should attempt to re-use storage in the existing object where possible.
- Specified by:
readFieldsin interfaceWritable- Parameters:
in-DataInputto deseriablize this object from.- Throws:
IOException
-
read
public static Refinement read(DataInput in, Model m) throws IOException
- Throws:
IOException
-
compareTo
public int compareTo(Refinement ref)
- Specified by:
compareToin interfaceComparable<Refinement>
-
contains
public boolean contains(Refinement ref, RefValue rv)
-
-