public class TryVarOrder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TryVarOrder.BDDOperation |
class |
TryVarOrder.TryThread |
Constructor and Description |
---|
TryVarOrder(int nodeTableSize,
int cacheSize,
int maxIncrease,
long bestTime,
long delayTime)
Construct a new TryVarOrder.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Clean up the temporary files.
|
String |
getBestOrder() |
long |
getBestTime() |
void |
init(BDD b1,
BDD b2,
BDD dom,
BDDFactory.BDDOp op)
Initialize for a new trial.
|
long |
tryOrder(String factory,
boolean reverse,
String varOrder)
Try out a variable order.
|
void |
writeBDDConfig(BDDFactory bdd,
String fileName)
Write the BDD configuration to a file.
|
public TryVarOrder(int nodeTableSize, int cacheSize, int maxIncrease, long bestTime, long delayTime)
public void init(BDD b1, BDD b2, BDD dom, BDDFactory.BDDOp op) throws IOException
b1
- first input to applyExb2
- second input to applyExdom
- third input to applyExop
- operation to be passed to applyExIOException
public void cleanup()
public void writeBDDConfig(BDDFactory bdd, String fileName) throws IOException
bdd
- BDD factoryfileName
- filenameIOException
public long tryOrder(String factory, boolean reverse, String varOrder)
reverse
- whether to reverse the bitsvarOrder
- variable order to trypublic String getBestOrder()
public long getBestTime()
Copyright © 2020. All rights reserved.