return result;
}
private Witness generateWitness(LinkedList<Pair<TCGTransition, TCGNode>> currentPath) {
Witness result = new Witness();
result.setAssociatedPath(currentPath);
for (TCGVariable basicVar : allModelVariables) {
if (basicVar.isIsParameter()) {
EList<Double> par = new BasicEList<Double>();
try {
par.add(ampl.getParameter(basicVar.getName()));
} catch (IOException e) {
e.printStackTrace();
}
result.put(basicVar, par);
}
else {
try {
result.put(basicVar, ampl.getVariable(basicVar.getName()));
} catch (IOException e) {
e.printStackTrace();
}
}
}