public final class Configuration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
AND |
static byte |
BLOCKED |
byte[] |
conf |
static byte |
HIDDEN |
static byte |
ILV |
static byte |
NOTCONFIGURED |
static byte |
REVSEQ |
static byte |
SEQ |
static byte |
XOR |
Constructor and Description |
---|
Configuration(boolean[] blocked,
boolean[] hidden) |
Configuration(byte[] conf) |
Configuration(int size)
Creates a configuration of given size with only NOTCONFIGURED set.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
byte |
getOption(int i)
Returns the configuration option set for the provided node.
|
int |
hashCode() |
boolean |
isBlocked(int i) |
boolean |
isDowngraded(int i)
Returns TRUE if the node is downgrade to another operator type.
|
boolean |
isHidden(int i) |
static char |
optionToString(byte b) |
java.lang.String |
toString() |
public static final byte NOTCONFIGURED
public static final byte BLOCKED
public static final byte HIDDEN
public static final byte XOR
public static final byte AND
public static final byte SEQ
public static final byte ILV
public static final byte REVSEQ
public final byte[] conf
public Configuration(byte[] conf)
public Configuration(int size)
size
- public Configuration(boolean[] blocked, boolean[] hidden)
public boolean isHidden(int i)
public boolean isBlocked(int i)
public boolean isDowngraded(int i)
i
- public byte getOption(int i)
NAryTree
operator types but
to our own Configuration
types!!!i
- public java.lang.String toString()
toString
in class java.lang.Object
public static char optionToString(byte b)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object