Refactoring
This commit is contained in:
parent
67c2c0c0ac
commit
0f77ce390b
|
@ -177,6 +177,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
statistics << totalError;
|
||||
for (const auto &patternObjectiveValue : resultsPerPattern) {
|
||||
statistics << patternObjectiveValue.first;
|
||||
statistics << patternObjectiveValue.second.objectiveValue;
|
||||
for (const double &optimalX : patternObjectiveValue.second.x) {
|
||||
statistics << optimalX;
|
||||
|
|
|
@ -499,8 +499,8 @@ ReducedModelOptimizer::ReducedModelOptimizer(
|
|||
void ReducedModelOptimizer::initializePatterns(
|
||||
FlatPattern &fullPattern, FlatPattern &reducedPattern,
|
||||
const std::unordered_set<size_t> &reducedModelExcludedEdges) {
|
||||
fullPattern.setLabel("full_pattern_" + fullPattern.getLabel());
|
||||
reducedPattern.setLabel("reduced_pattern_" + reducedPattern.getLabel());
|
||||
//fullPattern.setLabel("full_pattern_" + fullPattern.getLabel());
|
||||
//reducedPattern.setLabel("reduced_pattern_" + reducedPattern.getLabel());
|
||||
assert(fullPattern.VN() == reducedPattern.VN() &&
|
||||
fullPattern.EN() >= reducedPattern.EN());
|
||||
polyscope::removeAllStructures();
|
||||
|
|
Loading…
Reference in New Issue