-
-Column_x_positions::~Column_x_positions()
-{
-
-}
-
-void
-Column_x_positions::add_paper_column (Paper_column*c)
-{
- cols_.push (c);
-}
-
-void
-Column_x_positions::print() const
-{
-#ifndef NPRINT
- DOUT << "energy : " << energy_f_ << '\n';
- DOUT << "line of " << config_.size() << " cols\n";
- Vector v (config_);
- DOUT << v;
-#endif
-}
-
-void
-Column_x_positions::OK() const
-{
-#ifndef NDEBUG
- assert (config_.size() == cols_.size ());
-#endif
-}
-
-void
-Column_x_positions::set_stupid_solution(Vector v)
-{
- energy_f_ = infinity_f;
- config_ = v;
-}
-
-void
-Column_x_positions::stupid_solution()
-{
- set_stupid_solution (spacer_l_->default_solution());
-}
-
-void
-Column_x_positions::solve_line()
-{
- spacer_l_->solve (this);
-}
-
-
-void
-Column_x_positions::approximate_solve_line()
-{
- spacer_l_->lower_bound_solution (this);
-}
-
-