Fixed some examples
parent
fca23e0559
commit
88c79a2a56
|
@ -115,7 +115,7 @@ void runLargeExample() {
|
||||||
// Do brute force product and output that to file
|
// Do brute force product and output that to file
|
||||||
if (scheduler.nrStudents() == 1) { // otherwise too slow
|
if (scheduler.nrStudents() == 1) { // otherwise too slow
|
||||||
DecisionTreeFactor product = scheduler.product();
|
DecisionTreeFactor product = scheduler.product();
|
||||||
product.dot("scheduling-large", false);
|
product.dot("scheduling-large", DefaultKeyFormatter, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do exact inference
|
// Do exact inference
|
||||||
|
|
|
@ -115,7 +115,7 @@ void runLargeExample() {
|
||||||
// Do brute force product and output that to file
|
// Do brute force product and output that to file
|
||||||
if (scheduler.nrStudents() == 1) { // otherwise too slow
|
if (scheduler.nrStudents() == 1) { // otherwise too slow
|
||||||
DecisionTreeFactor product = scheduler.product();
|
DecisionTreeFactor product = scheduler.product();
|
||||||
product.dot("scheduling-large", false);
|
product.dot("scheduling-large", DefaultKeyFormatter, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do exact inference
|
// Do exact inference
|
||||||
|
|
|
@ -139,7 +139,7 @@ void runLargeExample() {
|
||||||
// Do brute force product and output that to file
|
// Do brute force product and output that to file
|
||||||
if (scheduler.nrStudents() == 1) { // otherwise too slow
|
if (scheduler.nrStudents() == 1) { // otherwise too slow
|
||||||
DecisionTreeFactor product = scheduler.product();
|
DecisionTreeFactor product = scheduler.product();
|
||||||
product.dot("scheduling-large", false);
|
product.dot("scheduling-large", DefaultKeyFormatter, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do exact inference
|
// Do exact inference
|
||||||
|
|
Loading…
Reference in New Issue