Minor cosmetics.
This commit is contained in:
parent
5798145e76
commit
69f4b3e1cf
@ -402,7 +402,7 @@ public class DynamicParticleSwarmOptimization extends ParticleSwarmOptimization
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
System.err.println("Could not perform PSO update, because individual is not instance of InterfaceESIndividual!");
|
throw new RuntimeException("Could not perform PSO update, because individual is not instance of InterfaceESIndividual!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//if (AbstractEAIndividual.getDoublePosition(indy)[0]<500000) {
|
//if (AbstractEAIndividual.getDoublePosition(indy)[0]<500000) {
|
||||||
|
@ -600,7 +600,7 @@ public class ParticleSwarmOptimization implements InterfaceOptimizer, java.io.Se
|
|||||||
default: System.err.println("particle type " + type + " unknown!"); break;
|
default: System.err.println("particle type " + type + " unknown!"); break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
EVAERROR.errorMsgOnce("Could not perform PSO update, because individual is not instance of InterfaceESIndividual!");
|
throw new RuntimeException("Could not perform PSO update, because individual is not instance of InterfaceESIndividual!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user