- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/Blis-0.91.0/Alps/src/AlpsSolutionPool.h File Reference

`#include "AlpsKnowledgePool.h"`
`#include "AlpsSolution.h"`

Include dependency graph for AlpsSolutionPool.h:

Go to the source code of this file.

## Classes
class | AlpsSolutionPool
| In the solution pool we assume that the lower the priority value the more desirable the solution is. More...
## Defines
#define | AlpsSolutionInterface(ref)

## Define Documentation

#define AlpsSolutionInterface | ( | ref |  | ) |

Value:

    int getNumSolutions() const {                                           \
       (ref).getNumSolutions();                                             \
    }                                                                       \
    int getMaxNumSolutions() const {                                        \
       return (ref).getMaxNumSolutions();                                   \
    }                                                                       \
    void setMaxNumSolutions(int num) {                                      \
       (ref).setMaxNumSolutions(num);                                       \
    }                                                                       \
    bool hasSolution() const {                                              \
       return (ref).hasSolution();                                          \
    }                                                                       \
    std::pair<const AlpsSolution*, double> getBestSolution() const {        \
       return (ref).getBestSolution();                                      \
    }                                                                       \
    void getAllSolutions                                                    \
       (std::vector<std::pair<const AlpsSolution*, double> >& sols) {       \
       return (ref).getAllSolutions(sols);                                  \
    }                                                                       \
    void addSolution(const AlpsSolution* sol, double priority) {            \
       (ref).addSolution(sol, priority);                                    \
    }

Definition at line 200 of file AlpsSolutionPool.h.