net.sourceforge.cilib.algorithm
Interface AlgorithmFactory

All Known Implementing Classes:
XMLAlgorithmFactory

public interface AlgorithmFactory

A factory used to produce an Algorithm must satisfy this interface. XMLAlgorithmFactory implements this interface so that algorithms can be created for the simulator.

To avoid the use of XML you can create your own implementation of AlgorithmFactory to create appropriately configured algorithms.

Author:
Edwin Peer

Method Summary
 Algorithm newAlgorithm()
          Returns a newly constructed algorithm.
 

Method Detail

newAlgorithm

Algorithm newAlgorithm()
Returns a newly constructed algorithm.

Returns:
A new Algorithm.


Copyright © 2009 CIRG. All Rights Reserved.