public class PhysicalWire
extends java.lang.Object
| Constructor and Description |
|---|
PhysicalWire(PhysicalWireSource source,
PhysicalWireTarget target,
java.util.Set<PhysicalOperation> operations) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(PhysicalOperation operation)
Adds an operation definition.
|
java.util.Set<PhysicalOperation> |
getOperations()
Returns the available operations.
|
PhysicalWireSource |
getSource()
Returns the physical definition for the source side of the wire.
|
PhysicalWireTarget |
getTarget()
Returns the physical definition for the target side of the wire.
|
boolean |
isOptimizable()
Returns true if the wire can be optimized.
|
void |
setOptimizable(boolean optimizable)
Sets whether the wire can be optimized.
|
public PhysicalWire(PhysicalWireSource source, PhysicalWireTarget target, java.util.Set<PhysicalOperation> operations)
public boolean isOptimizable()
public void setOptimizable(boolean optimizable)
optimizable - whether the wire can be optimizedpublic void addOperation(PhysicalOperation operation)
operation - Operation to be added.public java.util.Set<PhysicalOperation> getOperations()
public PhysicalWireSource getSource()
public PhysicalWireTarget getTarget()