parser.chocogen
Class ChocoFactory

java.lang.Object
  extended by parser.chocogen.ChocoFactory
Direct Known Subclasses:
ChocoFactoryRPC

public class ChocoFactory
extends Object


Field Summary
protected  List cstrs
           
protected  Model m
           
protected  InstanceParser parser
           
protected static float ratioHole
           
protected  RelationFactory relfactory
           
protected  Boolean restartMode
           
protected  IntegerVariable[] vars
           
 
Constructor Summary
ChocoFactory(InstanceParser parser, Model m)
           
 
Method Summary
 void createConstraints(boolean forceExp)
           
 void createRelations()
           
 void createVariables()
           
 Model getM()
           
 void makeModelConstraint(PConstraint pc, String options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ratioHole

protected static float ratioHole

parser

protected InstanceParser parser

restartMode

protected Boolean restartMode

m

protected Model m

relfactory

protected RelationFactory relfactory

vars

protected IntegerVariable[] vars

cstrs

protected List cstrs
Constructor Detail

ChocoFactory

public ChocoFactory(InstanceParser parser,
                    Model m)
Method Detail

getM

public Model getM()

createVariables

public void createVariables()

createRelations

public void createRelations()

createConstraints

public void createConstraints(boolean forceExp)

makeModelConstraint

public void makeModelConstraint(PConstraint pc,
                                String options)


Copyright © 2012. All Rights Reserved.