public static class ConstantTree.NodeCost extends Object implements PropertyConsumable
Modifier and Type | Field and Description |
---|---|
private double |
bestCost |
private int |
numMat |
private List<UseEntry> |
usages |
Constructor and Description |
---|
NodeCost(double bestCost,
List<UseEntry> usages,
int numMat) |
Modifier and Type | Method and Description |
---|---|
void |
addUsage(UseEntry usage) |
void |
forEachProperty(BiConsumer<String,String> action) |
double |
getBestCost() |
int |
getNumMaterializations() |
List<UseEntry> |
getUsages() |
void |
setBestCost(double cost) |
String |
toString() |
public void forEachProperty(BiConsumer<String,String> action)
forEachProperty
in interface PropertyConsumable
public double getBestCost()
public int getNumMaterializations()
public void setBestCost(double cost)