#include <moveLogProbVector.h>
Public Member Functions | |
MoveLogProbVector () | |
MoveLogProbVector (size_t size) | |
MoveLogProbVector (const MoveLogProbVector &src) | |
template<class RangeIterator > | |
MoveLogProbVector (const RangeIterator &first, const RangeIterator &last) | |
void | push_back (Move move, int prob) |
void | push_back (const MoveLogProb &move) |
template<class RangeIterator > | |
void | push_back (const RangeIterator &first, const RangeIterator &last) |
void | sortByProbability () |
確率が高い順にsort | |
void | sortByProbabilityReverse () |
確率が低い順にsort | |
const MoveLogProb * | find (Move) const |
Private Types | |
typedef MoveLogProbVectorBase | base_t |
Definition at line 14 of file moveLogProbVector.h.
typedef MoveLogProbVectorBase osl::container::MoveLogProbVector::base_t [private] |
Definition at line 16 of file moveLogProbVector.h.
osl::container::MoveLogProbVector::MoveLogProbVector | ( | ) | [inline] |
Definition at line 18 of file moveLogProbVector.h.
osl::container::MoveLogProbVector::MoveLogProbVector | ( | size_t | size | ) | [inline, explicit] |
Definition at line 19 of file moveLogProbVector.h.
osl::container::MoveLogProbVector::MoveLogProbVector | ( | const MoveLogProbVector & | src | ) | [inline] |
Definition at line 22 of file moveLogProbVector.h.
osl::container::MoveLogProbVector::MoveLogProbVector | ( | const RangeIterator & | first, |
const RangeIterator & | last | ||
) | [inline] |
Definition at line 26 of file moveLogProbVector.h.
const osl::MoveLogProb * osl::container::MoveLogProbVector::find | ( | Move | m | ) | const |
Definition at line 58 of file moveLogProbVector.cc.
void osl::container::MoveLogProbVector::push_back | ( | Move | move, |
int | prob | ||
) | [inline] |
Definition at line 30 of file moveLogProbVector.h.
Referenced by push_back().
void osl::container::MoveLogProbVector::push_back | ( | const MoveLogProb & | move | ) | [inline] |
Definition at line 33 of file moveLogProbVector.h.
References push_back().
void osl::container::MoveLogProbVector::push_back | ( | const RangeIterator & | first, |
const RangeIterator & | last | ||
) | [inline] |
Definition at line 37 of file moveLogProbVector.h.
References push_back().
確率が高い順にsort
Definition at line 49 of file moveLogProbVector.cc.
確率が低い順にsort
Definition at line 53 of file moveLogProbVector.cc.