|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Cell used for decoding a LambdaNet that represents an abstraction.
The Cell has an index in order to represent a variable.
The Decoder increments its arity by interacting with an applicator Cell.
Field Summary |
Method Summary | |
Port |
addNewAuxiliaryPort()
Adds a new auxiliary Port to this Cell and returns it. |
void |
addSequenceCount(long sequenceCount)
Adds a given sequence count to this unary Decoder. |
int |
getIndex()
Returns the index attached to this Decoder. |
long |
getSequenceCount()
Returns the sequence count of this unary Decoder. |
Methods inherited from interface org.xmloperator.lambda2.net.model.Cell |
cloneCell, collectPorts, getPort, getPrincipalPort, getSymbol, getSymbolArity, interact, isBinaryCell, isDecoder, isEraser, isPentaryMultiplexor, isWireCell |
Method Detail |
public int getIndex()
public Port addNewAuxiliaryPort()
public long getSequenceCount()
This doesn't make sense for a Decoder that is not unary.
public void addSequenceCount(long sequenceCount)
This doesn't make sense for a Decoder that is not unary.
sequenceCount
- a sequence count.
java.lang.IllegalArgumentException
- if the given sequence count is <= 0.
java.lang.IllegalStateException
- if this Decoder is not unary.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |