|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbe.eve.util.PopulationHelper
public class PopulationHelper
| Method Summary | |
|---|---|
(package private) SimplePopulation |
createInitialPopulation(int size,
ServicePool pool,
java.lang.String fileName)
Helper Method to create a Population of Solutions. |
(package private) EvEService |
createRndEvEService(java.lang.String smid)
|
(package private) ServicePool |
createServicePool(int size,
java.lang.String fileName)
Helper Method for creating and persisting (.xml file) a service pool. |
static PopulationHelper |
getInstance()
|
ServicePool |
getPoolFromFile(java.lang.String fileName)
Create / Read a service pool from a file |
SimplePopulation |
getPopulationFromFile(java.lang.String filename)
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PopulationHelper getInstance()
public static void main(java.lang.String[] args)
args - public SimplePopulation getPopulationFromFile(java.lang.String filename)
public ServicePool getPoolFromFile(java.lang.String fileName)
throws java.io.IOException
fileName - Filename of the file including extension
java.io.IOExceptionEvEService createRndEvEService(java.lang.String smid)
smid - ServiceManifest ID
ServicePool createServicePool(int size,
java.lang.String fileName)
size - Number of Services to be created in this poolfileName - Filename to store the pool (doesnot store if null)
SimplePopulation createInitialPopulation(int size,
ServicePool pool,
java.lang.String fileName)
size - Number of solutions to createpool - Pool, which is used to create the solutions fromfileName - where the pool is persisted to, does not store if null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||