public class Manager
extends java.lang.Object
Constructor and Description |
---|
Manager() |
Modifier and Type | Method and Description |
---|---|
static Attribute[] |
attributesFromJSON(java.lang.String json) |
static CBR |
cbrFromJSON(java.lang.String json) |
static java.lang.String |
correctCELvalues(java.lang.String json)
Method to use the PSA in case the PMA does not convert the CBR cases to
.json used the methods of this class, i.e. all attributes have numeric
values instead of strings
|
static java.lang.String |
fullToJSON(Population p) |
static Individual |
individualFromJSON(java.lang.String json) |
static Population |
populationFromJSON(java.lang.String json,
Attribute[] attributes)
Returns a Population from the List
|
static java.lang.String |
toJSON(Attribute[] attributes) |
static java.lang.String |
toJSON(CBR cbr) |
static java.lang.String |
toJSON(Individual i) |
static java.lang.String |
toJSON(Population pop) |
public static java.lang.String toJSON(Individual i)
public static java.lang.String toJSON(Population pop)
public static java.lang.String fullToJSON(Population p)
public static Individual individualFromJSON(java.lang.String json)
public static Population populationFromJSON(java.lang.String json, Attribute[] attributes)
json
- attributes
- public static java.lang.String toJSON(CBR cbr)
public static CBR cbrFromJSON(java.lang.String json)
public static java.lang.String toJSON(Attribute[] attributes)
public static Attribute[] attributesFromJSON(java.lang.String json)
public static java.lang.String correctCELvalues(java.lang.String json)
json
-