Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.engine
Interface IOperator

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IConduit, IEvaluator, IFork, IGeneticOperator, IInitializer, IJoin, IMutator, IPopulation, IProcessor, IRecombinator, ISelector, ISink, ISource
All Known Implementing Classes:
AbstractConduit, AbstractEvaluator, AbstractGeneticOperator, AbstractInitializer, AbstractMultiCaster, AbstractMutator, AbstractOperator, AbstractPopulation, AbstractRecombinator, AbstractRouter, AbstractSelector, AbstractSink, AbstractWriter, Collector, Combiner, Duplicator

public interface IOperator
extends java.io.Serializable

Toplevel interface for an operator used in an algorithm.

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

Method Summary
 void attachDescriptor(OperatorDescriptor descriptor)
          Attaches a descriptor to this operator.
 void attachElement(IElement element)
          Sets the algorithm element for this operator.
 OperatorDescriptor descriptor()
          Returns a descriptor for this operator.
 IElement element()
          Returns the algorithm element that is attached to this operator.
 java.lang.String getId()
          Return the internal identifier of this operator.
 java.lang.String getName()
          Returns the name of this operator.
 void setId(java.lang.String id)
          Sets the identifier of this operator.
 void setName(java.lang.String name)
          Sets the name of this operator.
 

Method Detail

attachDescriptor

public void attachDescriptor(OperatorDescriptor descriptor)
Attaches a descriptor to this operator.

Parameters:
descriptor - descriptor to be attached

attachElement

public void attachElement(IElement element)
Sets the algorithm element for this operator.

Parameters:
element - associated algorithm element for this operator

descriptor

public OperatorDescriptor descriptor()
Returns a descriptor for this operator.

Returns:
descriptor

element

public IElement element()
Returns the algorithm element that is attached to this operator.

Returns:
attached algorithm element

getName

public java.lang.String getName()
Returns the name of this operator.

Returns:
name of the operator

setName

public void setName(java.lang.String name)
Sets the name of this operator.

Parameters:
name - new name for this operator

getId

public java.lang.String getId()
Return the internal identifier of this operator.

Returns:
identifier of the operator

setId

public void setId(java.lang.String id)
Sets the identifier of this operator.

Parameters:
id - new identifier for this operator

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

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