Split Class Reference

#include <Split.h>

Inheritance diagram for Split:

Inheritance graph
Collaboration diagram for Split:

Collaboration graph

List of all members.

Public Member Functions

 Split (Input &i)
 ~Split ()
void Evolve ()

Protected Member Functions

std::ostream & Write (std::ostream &) const

Detailed Description

Split an input into pieces

Constructor & Destructor Documentation

Split::Split ( Input i  )  [inline]

Calls the base constructor and prints some information if needed.

Split::~Split (  )  [inline]

References Optimizer::m_solution.

Member Function Documentation

void Split::Evolve (  )  [virtual]

Just splits the input (in original order) according to target size, i.e., select file by file until fit the specified volume.

Implements Optimizer.

References BinSet::AddBin(), Bin::AddItem(), Optimizer::m_files, Optimizer::m_params, Optimizer::m_solution, Params::m_target, and Params::m_verbose.

std::ostream& Split::Write ( std::ostream &   )  const [protected, virtual]

Writes some information (like algorithm name and parameters) in ostream object (usually cout).

Reimplemented from Optimizer.

The documentation for this class was generated from the following files: