Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.engine
Class ForkElement

java.lang.Object
  extended byorg.evolvica.engine.AbstractElement
      extended byorg.evolvica.engine.ForkElement
All Implemented Interfaces:
IElement

public class ForkElement
extends AbstractElement

Fork element.

Since:
0.4.0
Version:
$Revision: 1.8 $ $Date: 2004/05/26 11:58:23 $
Author:
Andreas Rummler

Field Summary
protected  IFork fork
          Underlying fork operator.
 
Fields inherited from class org.evolvica.engine.AbstractElement
algorithm, incoming, input, outgoing, output
 
Constructor Summary
ForkElement(IFork fork)
          Constructor.
 
Method Summary
 void activate()
          Activates this element.
 IOperator getOperator()
          Returns the operator that is assigned to this element.
 boolean isActivatable()
          Checks if this element can activated.
 void setIncomingSize(int size)
          Sets a new value for the number of incoming slots.
 void setOutgoingSize(int size)
          Sets a new value for the number of outgoing slots.
 
Methods inherited from class org.evolvica.engine.AbstractElement
addPropertyChangeListener, firePropertyChangeEvent, getAlgorithm, getIncoming, getIncomingIndex, getMetadata, getOutgoing, getOutgoingIndex, getOutput, incomingSize, outgoingSize, removeConnection, removePropertyChangeListener, setAlgorithm, setIncoming, setInput, setMetadata, setOutgoing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fork

protected IFork fork
Underlying fork operator.

Constructor Detail

ForkElement

public ForkElement(IFork fork)
Constructor.

Parameters:
fork - underlying fork operator
Method Detail

getOperator

public IOperator getOperator()
Description copied from interface: IElement
Returns the operator that is assigned to this element.

Returns:
assigned operator
See Also:
IElement.getOperator()

activate

public void activate()
Description copied from interface: IElement
Activates this element.

See Also:
IElement.activate()

isActivatable

public boolean isActivatable()
Description copied from interface: IElement
Checks if this element can activated.

Returns:
true if this element can be activated, false instead
See Also:
IElement.isActivatable()

setIncomingSize

public void setIncomingSize(int size)
Description copied from interface: IElement
Sets a new value for the number of incoming slots.

Parameters:
size - number of incoming slots
See Also:
IElement.setIncomingSize(int)

setOutgoingSize

public void setOutgoingSize(int size)
Description copied from interface: IElement
Sets a new value for the number of outgoing slots.

Parameters:
size - number of outgoing slots
See Also:
IElement.setOutgoingSize(int)

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems