My Project
|
#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 |
![]() | |
FixedCapacityVector () | |
FixedCapacityVector (size_t size) | |
FixedCapacityVector (FixedCapacityVector const &rhs) | |
template<class RangeIterator > | |
FixedCapacityVector (const RangeIterator &first, const RangeIterator &last) | |
~FixedCapacityVector () | |
FixedCapacityVector & | operator= (FixedCapacityVector const &rhs) |
T & | operator[] (size_t i) |
iterator | begin () |
iterator | end () |
T & | front () |
T & | back () |
void | push_back (const T &e) |
template<class RangeIterator > | |
void | push_back (const RangeIterator &first, const RangeIterator &last) |
void | pop_back () |
void | clear () |
void | resize (size_t new_length) |
void | erase (const T &e) |
void | unique () |
重複する要素を取り除く | |
size_t | size () const |
bool | empty () const |
size_t | capacity () const |
T const & | operator[] (size_t i) const |
const_iterator | begin () const |
const_iterator | end () const |
const T & | front () const |
const T & | back () const |
bool | isMember (const T &e, const_iterator first, const_iterator last) const |
bool | isMember (const T &e) const |
detail::FixedCapacityVectorPushBack< T > | pushBackHelper () |
Private Types | |
typedef MoveLogProbVectorBase | base_t |
Additional Inherited Members | |
![]() | |
typedef array_t::value_type | value_type |
typedef array_t::iterator | iterator |
typedef array_t::const_iterator | const_iterator |
![]() | |
typedef Array | array_t |
![]() | |
T * | ptr |
CArray< int64_t,(sizeof(T[Capacity])+sizeof(int64_t) -1)/sizeof(int64_t)> | relements |
Definition at line 13 of file moveLogProbVector.h.
|
private |
Definition at line 15 of file moveLogProbVector.h.
|
inline |
Definition at line 17 of file moveLogProbVector.h.
|
inlineexplicit |
Definition at line 18 of file moveLogProbVector.h.
|
inline |
Definition at line 21 of file moveLogProbVector.h.
|
inline |
Definition at line 25 of file moveLogProbVector.h.
const osl::MoveLogProb * osl::container::MoveLogProbVector::find | ( | Move | m | ) | const |
Definition at line 57 of file moveLogProbVector.cc.
|
inline |
Definition at line 32 of file moveLogProbVector.h.
References osl::FixedCapacityVector< T, Capacity >::push_back().
|
inline |
Definition at line 36 of file moveLogProbVector.h.
References osl::FixedCapacityVector< T, Capacity >::push_back().
|
inline |
Definition at line 29 of file moveLogProbVector.h.
References osl::FixedCapacityVector< T, Capacity >::push_back().
Referenced by osl::rating::FeatureSet::generateLogProb(), osl::move_probability::StandardFeatureSet::generateLogProb2(), and osl::move_probability::FeatureSet::ratingToLogProb().
void osl::container::MoveLogProbVector::sortByProbability | ( | ) |
確率が高い順にsort
Definition at line 48 of file moveLogProbVector.cc.
References osl::FixedCapacityVector< T, Capacity >::begin(), and osl::FixedCapacityVector< T, Capacity >::end().
Referenced by osl::move_probability::FeatureSet::ratingToLogProb().
void osl::container::MoveLogProbVector::sortByProbabilityReverse | ( | ) |
確率が低い順にsort
Definition at line 52 of file moveLogProbVector.cc.