|
From: <lab...@gm...> - 2008-11-12 14:49:02
|
Hello,
What is the best way to initialize a problem with a set of solutions?
It's a route planning problem to optimize the waypoints. I implemented my
problem using the OptimizationProblem interface and the I have set the
domain as such (see below) but I want to initialize the swarm to a set of
solutions. Any hints and ideas? Code will be wonderful too. TIA
public DomainRegistry getDomain() {
DomainRegistry registry = new DomainRegistry();
registry.setBuiltRepresenation(new
net.sourceforge.cilib.type.types.container.Vector(dimensions, new Real (0,
6.28)));
return registry;
}
Sorry, I'm working against a deadline.
myriam
|