net.sf.myra.antree.representation
Interface BranchEncoder

All Known Implementing Classes:
LevelBranchEncoder, ParentBranchEncoder

public interface BranchEncoder

This interface is responsible to provide the code of a branch in the pheromone matrix.

Version:
$Revision: 2320 $ $Date:: 2011-01-25 13:06:10#$
Author:
Fernando Esteban Barril Otero

Method Summary
 int encode(Branch branch)
          Returns the code of the specified branch.
 

Method Detail

encode

int encode(Branch branch)
Returns the code of the specified branch.

Parameters:
branch - the branch to encode.
Returns:
the code of the specified branch.


Copyright © 2013. All Rights Reserved.