ratedMoveVector.h
Go to the documentation of this file.
/* ratedMoveVector.h
*/
#ifndef OSL_RATEDMOVEVECTOR_H
#define OSL_RATEDMOVEVECTOR_H
#include "osl/rating/ratedMove.h"
#include "osl/container.h"
#include <iosfwd>
namespace osl
{
namespace rating
{
typedef FixedCapacityVector<RatedMove,Move::MaxUniqMoves> RatedMoveVectorBase;
class RatedMoveVector : public RatedMoveVectorBase
{
typedef RatedMoveVectorBase base_t;
public:
void sort();
const RatedMove* find(Move) const;
};
std::ostream& operator<<(std::ostream& os, RatedMoveVector const&);
bool operator==(const RatedMoveVector& l, const RatedMoveVector& r);
} // namespace container
using rating::RatedMoveVector;
} // namespace osl
#endif /* OSL_RATEDMOVEVECTOR_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
osl::FixedCapacityVector
Definition container.h:137
osl::Move
圧縮していない moveの表現 .
Definition basic_type.h:1052
osl::rating::RatedMoveVector
Definition ratedMoveVector.h:17
osl::rating::RatedMoveVector::base_t
RatedMoveVectorBase base_t
Definition ratedMoveVector.h:18
osl::rating::RatedMoveVector::sort
void sort()
ratingが高い順にsort
Definition ratedMoveVector.cc:25
osl::rating::RatedMoveVector::find
const RatedMove * find(Move) const
Definition ratedMoveVector.cc:30
osl::rating::RatedMove
Definition ratedMove.h:14
container.h
osl::rating
Definition construct.h:18
osl::rating::operator==
bool operator==(RatedMove const &lhs, RatedMove const &rhs)
Definition ratedMove.h:35
osl::rating::RatedMoveVectorBase
FixedCapacityVector< RatedMove, Move::MaxUniqMoves > RatedMoveVectorBase
Definition ratedMoveVector.h:14
osl::rating::operator<<
std::ostream & operator<<(std::ostream &os, RatedMove const &moveLogProb)
Definition ratedMove.cc:6
osl
Definition additionalEffect.h:6
ratedMove.h