MultiAgentDecisionProcess
Release 0.2.1
|
Authors: Frans Oliehoek faoli Matthijs Spaan eho@ scien ce.u va.nlmtjsp aan@ isr.i st.u tl.ptMore...
Go to the source code of this file.
Namespaces | |
namespace | IndexTools |
IndexTools contains functionality for manipulating indices. |
Functions | |
Index | IndexTools::ActionAndObservation_to_ActionObservationIndex (Index aI, Index oI, size_t nrA, size_t nrO) |
Computation of a index for (joint) actionObservations. | |
Index | IndexTools::ActionObservation_to_ActionIndex (Index aoI, size_t nrA, size_t nrO) |
Convert (joint) ActionObservation indices to (joint) Action indices. | |
Index | IndexTools::ActionObservation_to_ObservationIndex (Index aoI, size_t nrA, size_t nrO) |
Convert (joint) ActionObservation indices to (joint) Observation indices. | |
size_t | IndexTools::CalculateNumberOfSequences (size_t o, size_t seqLength) |
Calculate the number of sequences of length up to seqLength, for which at every time step o options are available. | |
size_t * | IndexTools::CalculateStepSize (const std::vector< size_t > &nrElems) |
Calculates the step size array for nrElems. | |
size_t * | IndexTools::CalculateStepSize (const std::vector< size_t > &nrElems, size_t n) |
Calculates the step size array from the first n entries of nrElems. | |
LIndex * | IndexTools::CalculateStepSize (const std::vector< LIndex > &nrElems) |
LIndex equivalent function. | |
bool | IndexTools::Increment (Index &index, size_t nrElems) |
Increments index which ranges over nrElems. | |
bool | IndexTools::Increment (std::vector< Index > &indexVec, const std::vector< size_t > &nrElems) |
Increments vector of indices that range over nrElems. | |
bool | IndexTools::Increment (LIndex &index, LIndex &nrElems) |
LIndex equivalent function. | |
bool | IndexTools::Increment (std::vector< LIndex > &indexVec, std::vector< LIndex > &nrElems) |
LIndex equivalent function. | |
Index | IndexTools::IndividualToJointIndices (const std::vector< Index > &indices, const std::vector< size_t > &nrElems) |
Convert individual to joint indices. | |
Index | IndexTools::IndividualToJointIndices (const std::vector< Index > &indices, const std::vector< size_t > &nrElems, size_t n) |
Convert individual to joint indices. Only uses first n entries of vecs. | |
LIndex | IndexTools::IndividualToJointIndices (const std::vector< LIndex > &indices, const std::vector< LIndex > &nrElems) |
LIndex equivalent function. | |
Index | IndexTools::IndividualToJointIndicesArray (const Index *indices, const std::vector< size_t > &nrElems) |
A variant that takes an array instead of a vector for extra speed. | |
LIndex | IndexTools::IndividualToJointIndicesArray (LIndex *indices, const std::vector< LIndex > &nrElems) |
LIndex equivalent function. | |
Index | IndexTools::IndividualToJointIndicesArrayStepSize (const Index *indices, const size_t *step_size, size_t vec_size) |
A variant that 1) takes an array instead of a vector and 2) takes a cached step_size array for extra speed. | |
Index | IndexTools::IndividualToJointIndicesArrayStepSize (const Index *indices, const std::vector< size_t > &step_size, size_t vec_size) |
A variant with a step_size vector. | |
LIndex | IndexTools::IndividualToJointIndicesArrayStepSize (LIndex *indices, const LIndex *step_size, LIndex vec_size) |
LIndex equivalent function. | |
LIndex | IndexTools::IndividualToJointIndicesArrayStepSize (LIndex *indices, const std::vector< LIndex > &step_size, LIndex vec_size) |
LIndex equivalent function. | |
Index | IndexTools::IndividualToJointIndicesStepSize (const std::vector< Index > &indices, const std::vector< size_t > &step_size) |
A variant that takes a cached step_size vector for extra speed. | |
Index | IndexTools::IndividualToJointIndicesStepSize (const std::vector< Index > &indices, const size_t *step_size) |
A variant that takes a cached step_size array for extra speed. | |
LIndex | IndexTools::IndividualToJointIndicesStepSize (const std::vector< LIndex > &indices, const std::vector< LIndex > &step_size) |
LIndex equivalent function. | |
LIndex | IndexTools::IndividualToJointIndicesStepSize (const std::vector< LIndex > &indices, const LIndex *step_size) |
LIndex equivalent function. | |
std::vector< Index > | IndexTools::JointToIndividualIndices (Index jointI, const std::vector< size_t > &nrElems) |
The reverse of IndividualToJointIndices. | |
std::vector< LIndex > | IndexTools::JointToIndividualIndices (LIndex jointI, const std::vector< LIndex > &nrElems) |
LIndex equivalent function. | |
const Index * | IndexTools::JointToIndividualIndicesArrayStepSize (Index jointI, const size_t *stepSize, size_t vec_size) |
The reverse of IndividualToJointIndices - taking the stepSize array as an argument and returning a pointer to a array. | |
const LIndex * | IndexTools::JointToIndividualIndicesArrayStepSize (LIndex jointI, const LIndex *stepSize, LIndex vec_size) |
LIndex equivalent function. | |
std::vector< Index > | IndexTools::JointToIndividualIndicesStepSize (Index jointI, const size_t *stepSize, size_t vec_size) |
The reverse of IndividualToJointIndices - taking the stepSize array as an argument. | |
std::vector< Index > | IndexTools::JointToIndividualIndicesStepSize (Index jointI, const std::vector< size_t > &stepSize, size_t vec_size) |
The reverse of IndividualToJointIndices - taking the stepSize array as an argument. | |
std::vector< Index > | IndexTools::JointToIndividualIndicesStepSize (Index jointI, const std::vector< size_t > &stepSize) |
std::vector< LIndex > | IndexTools::JointToIndividualIndicesStepSize (LIndex jointI, const LIndex *stepSize, LIndex vec_size) |
LIndex equivalent function. | |
std::vector< LIndex > | IndexTools::JointToIndividualIndicesStepSize (LIndex jointI, const std::vector< LIndex > &stepSize, LIndex vec_size) |
LIndex equivalent function. | |
std::vector< LIndex > | IndexTools::JointToIndividualIndicesStepSize (LIndex jointI, const std::vector< LIndex > &stepSize) |
Authors: Frans Oliehoek faoli Matthijs Spaan eho@ scien ce.u va.nlmtjsp aan@ isr.i st.u tl.pt
Copyright 2008 Universiteit van Amsterdam, Instituto Superior Tecnico
This file is part of MultiAgentDecisionProcess.
MultiAgentDecisionProcess is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
MultiAgentDecisionProcess is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with MultiAgentDecisionProcess. If not, see http://www.gnu.org/licenses/.
Definition in file IndexTools.h.