add save-sol to output all solutions to a file
This commit is contained in:
parent
d64f2b38ed
commit
a376921f07
1 changed files with 6 additions and 4 deletions
|
|
@ -143,10 +143,12 @@ class moBinaryPartition : public EO<FitT>
|
||||||
virtual void printOn(std::ostream& out) const override
|
virtual void printOn(std::ostream& out) const override
|
||||||
{
|
{
|
||||||
this->printSelectedOn(out);
|
this->printSelectedOn(out);
|
||||||
out << " ";
|
// Printing the rejected atom should not be necessary,
|
||||||
out << rejected.size() << " "; // Size.
|
// as this is the complementary set of the selected.
|
||||||
std::copy(std::begin(rejected), std::end(rejected),
|
// out << " ";
|
||||||
std::ostream_iterator<AtomType>(out, " ")); // Values.
|
// out << rejected.size() << " "; // Size.
|
||||||
|
// std::copy(std::begin(rejected), std::end(rejected),
|
||||||
|
// std::ostream_iterator<AtomType>(out, " ")); // Values.
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Deserialization of the `selected` and `rejected` atoms.
|
/** Deserialization of the `selected` and `rejected` atoms.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue