hr.fer.zemris.aco
Class AntSystem

java.lang.Object
  extended by hr.fer.zemris.aco.AntSystem

public class AntSystem
extends java.lang.Object

Razred modelira rad algoritma AntSystem na problemu trgovačkog putnika.

Author:
marcupic

Constructor Summary
AntSystem(java.util.List<City> cities)
          Konstruktor.
 
Method Summary
 void go()
          Glavna metoda algoritma.
static void main(java.lang.String[] args)
          Ulazna točka u program.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntSystem

public AntSystem(java.util.List<City> cities)
Konstruktor.

Parameters:
cities - lista gradova
Method Detail

go

public void go()
Glavna metoda algoritma.


main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Ulazna točka u program.

Parameters:
args - argumenti komandne linije
Throws:
java.io.IOException