-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSolution.java
More file actions
28 lines (24 loc) · 834 Bytes
/
Solution.java
File metadata and controls
28 lines (24 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* \file Solution.java
*
* Framework interface for each candidate solution to the problem.
* The implementing class should have the appropriate data structure to store
* a candidate solution built during the ACO. Its "fitness" should be retrieved
* as a numerical value T, which should be either Long or Double, according to
* the problem.
*
* "Map Ants, Reduce Work": a research project regarding a MapReduce inspired
* parallel framework for the Ant Colony Optimization (ACO) algorithm, under
* development at UFMG (Universidade Federal de Minas Gerais, Brazil).
*
* \author Phillippe Samer <phillippes@gmail.com>
*
* \date 16.01.2011
*/
// package br.ufmg.dcc.MapRedACO;
public interface Solution<T>
{
public String toString();
public T getValue();
public void setValue(long x);
}