Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
PartitionSolver Class Reference

#include <PartitionSolver.h>

Public Member Functions

 PartitionSolver (const EntriesVec &elements, const SpacesVec &spaces, SolutionType solveHow)
 
void solve (void)
 
const SolutionVecgetSolution (void) const
 

Protected Attributes

SolutionType m_howToSolve
 
EntriesVec m_data
 
SpacesVec m_spacesForData
 
SolutionVec m_currentSolution
 
UnsignedInt m_currentSolutionLeftovers
 
SolutionVec m_bestSolution
 

Detailed Description

Definition at line 68 of file PartitionSolver.h.

Constructor & Destructor Documentation

◆ PartitionSolver()

PartitionSolver::PartitionSolver ( const EntriesVec & elements,
const SpacesVec & spaces,
SolutionType solveHow )

Definition at line 61 of file PartitionSolver.cpp.

Member Function Documentation

◆ getSolution()

const SolutionVec & PartitionSolver::getSolution ( void ) const

Definition at line 123 of file PartitionSolver.cpp.

◆ solve()

void PartitionSolver::solve ( void )

Definition at line 72 of file PartitionSolver.cpp.

Member Data Documentation

◆ m_bestSolution

SolutionVec PartitionSolver::m_bestSolution
protected

Definition at line 77 of file PartitionSolver.h.

◆ m_currentSolution

SolutionVec PartitionSolver::m_currentSolution
protected

Definition at line 75 of file PartitionSolver.h.

◆ m_currentSolutionLeftovers

UnsignedInt PartitionSolver::m_currentSolutionLeftovers
protected

Definition at line 76 of file PartitionSolver.h.

◆ m_data

EntriesVec PartitionSolver::m_data
protected

Definition at line 72 of file PartitionSolver.h.

◆ m_howToSolve

SolutionType PartitionSolver::m_howToSolve
protected

Definition at line 71 of file PartitionSolver.h.

◆ m_spacesForData

SpacesVec PartitionSolver::m_spacesForData
protected

Definition at line 73 of file PartitionSolver.h.


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