|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use City | |
---|---|
hr.fer.zemris.aco | Paket sadrži ogledne implementacije mravljih algoritama. |
hr.fer.zemris.ais | Paket sadrži ogledne implementacije klonskih algoritama. |
hr.fer.zemris.graphics.tsp | Paket sadrži pomoćni razred koji služi vizualizaciji rješenja problema TSP. |
hr.fer.zemris.tsp | Paket sadrži pomoćne razrede koji se koriste za rješavanje problema trgovačkog putnika (TSP). |
Uses of City in hr.fer.zemris.aco |
---|
Constructor parameters in hr.fer.zemris.aco with type arguments of type City | |
---|---|
AntSystem(java.util.List<City> cities)
Konstruktor. |
|
SimpleACO(java.util.List<City> cities)
Konstruktor. |
Uses of City in hr.fer.zemris.ais |
---|
Constructor parameters in hr.fer.zemris.ais with type arguments of type City | |
---|---|
ClonAlg(java.util.List<City> cities)
Konstruktor. |
|
SimpleIA(java.util.List<City> cities)
Konstruktor. |
Uses of City in hr.fer.zemris.graphics.tsp |
---|
Methods in hr.fer.zemris.graphics.tsp with parameters of type City | |
---|---|
static void |
PrepareTSP.visualize(City[] cities)
Pomoćna metoda koju smije pozvati proizvoljna dretva a služi za inicijalizaciju prikaza ture. |
Constructors in hr.fer.zemris.graphics.tsp with parameters of type City | |
---|---|
PrepareTSP(City[] presetCities)
Konstruktor koji prima polje gradova. |
Uses of City in hr.fer.zemris.tsp |
---|
Methods in hr.fer.zemris.tsp that return City | |
---|---|
static City[] |
TSPUtil.reorderCities(City[] cities,
int[] indexes)
Metoda vraća novo polje gradova ne temelju izvornog polja gradova i predanog redosljeda određenog indeksima. |
Methods in hr.fer.zemris.tsp that return types with arguments of type City | |
---|---|
static java.util.List<City> |
TSPUtil.loadCities(java.lang.String fileName)
Metoda učitava listu gradova iz datoteke. |
Methods in hr.fer.zemris.tsp with parameters of type City | |
---|---|
static void |
TSPUtil.evaluate(TSPSolution[] population,
City[] cities)
Pomoćna metoda koja računa dobrotu svih tura u predanom polju. |
static void |
TSPUtil.evaluate(TSPSolution sol,
City[] cities)
Metoda za predano rješenje računa njegovu duljinu temeljem predanog polja gradova i indeksa koji se nalaze u samom rješenju. |
static City[] |
TSPUtil.reorderCities(City[] cities,
int[] indexes)
Metoda vraća novo polje gradova ne temelju izvornog polja gradova i predanog redosljeda određenog indeksima. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |