|
WSF
|
#include <WsfQuantumMatrix.hpp>

Public Member Functions | |
| WsfQuantumMatrix ()=default | |
| WsfQuantumMatrix (const WsfQuantumMatrix &aSrc) | |
| WsfQuantumMatrix & | operator= (const WsfQuantumMatrix &) |
| virtual | ~WsfQuantumMatrix () |
| std::vector< WsfAssetPerception * > & | Assets () |
| std::vector< WsfQuantumTask * > & | Tasks () |
| std::vector< std::vector< double > > & | Values () |
| double | Value (size_t taskIndex, size_t assetIndex) |
| std::vector< std::vector< double > > & | Profit () |
| double | Profit (size_t taskIndex, size_t assetIndex) |
| void | ClearAssets () |
| void | SetAssets (std::vector< WsfAssetPerception * > &aAssets) |
| void | SetTasks (std::vector< WsfQuantumTask * > &aTasks) |
| virtual void | UpdateEvaluations (double aSimTime, WsfQuantumEvaluator &aEvaluator, std::vector< WsfLocalTrack * > &aPerception) |
| void | ClearTasks () |
| void | EraseTask (size_t taskIndex) |
| void | RemoveTask (size_t taskIndex) |
| void | EraseAsset (size_t assetIndex) |
| void | RemoveAsset (size_t assetIndex) |
Static Public Member Functions | |
| static void | SetRow (std::vector< std::vector< double > > &m, size_t aRow, double aValue) |
| static void | RemoveRow (std::vector< std::vector< double > > &m, size_t aRow) |
| static void | SetColumn (std::vector< std::vector< double > > &m, size_t aCol, double aValue) |
| static void | RemoveColumn (std::vector< std::vector< double > > &m, size_t aCol) |
Protected Attributes | |
| std::vector< WsfAssetPerception * > | mAssets |
| std::vector< WsfQuantumTask * > | mTasks |
| std::vector< std::vector< double > > | mValues |
| std::vector< std::vector< double > > | mProfits |
|
default |
References operator=(), and WsfQuantumMatrix().
Referenced by WsfQuantumTaskerProcessor::AllocateExtraAssets(), WsfQuantumTaskerProcessor::AllocateExtraTasks(), operator=(), WsfQuantumTaskerProcessor::SetAllocations(), WsfQuantumMatrix(), WsfQuantumMatrix(), WsfQuantumTaskerProcessor::WsfQuantumTaskerProcessor(), WsfQuantumTaskerProcessor::WsfQuantumTaskerProcessor(), and WsfQuantumTaskerProcessor::WsfQuantumTaskerProcessor().
| WsfQuantumMatrix::WsfQuantumMatrix | ( | const WsfQuantumMatrix & | aSrc | ) |
References mAssets, mProfits, mTasks, mValues, and WsfQuantumMatrix().
|
virtual |
References mAssets.
|
inline |
References mAssets.
Referenced by WsfQuantumTaskerProcessor::AllocateExtraAssets(), WsfQuantumAllocatorGreedyIsolated::MakeAllocations(), WsfQuantumAllocatorGreedyPriority::MakeAllocations(), WsfQuantumAllocatorGreedyProfit::MakeAllocations(), WsfQuantumAllocatorGreedyValue::MakeAllocations(), WsfQuantumAllocatorOptimalProfit::MakeAllocations(), WsfQuantumAllocatorScript::MakeAllocations(), WsfQuantumAllocatorSimple::MakeAllocations(), WsfMilEventPipe::QuantumTaskerUpdate(), and WsfQuantumTaskerProcessor::SetMatrixTasks().
| void WsfQuantumMatrix::ClearAssets | ( | ) |
References mAssets.
Referenced by operator=(), SetAssets(), and WsfQuantumTaskerProcessor::SetMatrixAssets().
| void WsfQuantumMatrix::ClearTasks | ( | ) |
References mTasks.
Referenced by SetTasks().
| void WsfQuantumMatrix::EraseAsset | ( | size_t | assetIndex | ) |
References mAssets, and RemoveAsset().
Referenced by WsfQuantumTaskerProcessor::AllocateExtraAssets().
| void WsfQuantumMatrix::EraseTask | ( | size_t | taskIndex | ) |
References mTasks, and RemoveTask().
| WsfQuantumMatrix & WsfQuantumMatrix::operator= | ( | const WsfQuantumMatrix & | aSrc | ) |
References ClearAssets(), mAssets, mProfits, mTasks, mValues, and WsfQuantumMatrix().
Referenced by WsfQuantumMatrix().
|
inline |
|
inline |
References mProfits.
| void WsfQuantumMatrix::RemoveAsset | ( | size_t | assetIndex | ) |
References mAssets, mProfits, mValues, and RemoveColumn().
Referenced by EraseAsset().
|
static |
|
static |
| void WsfQuantumMatrix::RemoveTask | ( | size_t | taskIndex | ) |
References mProfits, mTasks, mValues, and RemoveRow().
Referenced by WsfQuantumTaskerProcessor::AllocateExtraTasks(), EraseTask(), and WsfQuantumTaskerProcessor::SetAllocations().
| void WsfQuantumMatrix::SetAssets | ( | std::vector< WsfAssetPerception * > & | aAssets | ) |
References ClearAssets(), mAssets, mProfits, mTasks, and mValues.
Referenced by WsfQuantumTaskerProcessor::SetMatrixAssets().
|
static |
|
static |
| void WsfQuantumMatrix::SetTasks | ( | std::vector< WsfQuantumTask * > & | aTasks | ) |
References ClearTasks(), mAssets, mProfits, mTasks, and mValues.
Referenced by WsfQuantumTaskerProcessor::SetMatrixTasks().
|
inline |
References mTasks.
Referenced by WsfQuantumTaskerProcessor::AllocateExtraTasks(), WsfQuantumAllocatorGreedyIsolated::MakeAllocations(), WsfQuantumAllocatorGreedyPriority::MakeAllocations(), WsfQuantumAllocatorGreedyProfit::MakeAllocations(), WsfQuantumAllocatorGreedyValue::MakeAllocations(), WsfQuantumAllocatorOptimalProfit::MakeAllocations(), WsfQuantumAllocatorScript::MakeAllocations(), WsfQuantumAllocatorSimple::MakeAllocations(), WsfMilEventPipe::QuantumTaskerUpdate(), and WsfQuantumTaskerProcessor::SetAllocations().
|
virtual |
Reimplemented in WsfQuantumTaskerProcessor.
References WsfQuantumEvaluator::Evaluate(), mAssets, mProfits, mTasks, and mValues.
Referenced by WsfQuantumTaskerProcessor::UpdateEvaluations().
|
inline |
References mValues.
Referenced by WsfMilEventPipe::QuantumTaskerUpdate().
|
inline |
|
protected |
Referenced by WsfQuantumTaskerProcessor::AllocateExtraAssets(), Assets(), ClearAssets(), EraseAsset(), operator=(), RemoveAsset(), SetAssets(), SetTasks(), WsfQuantumTaskerProcessor::Update(), UpdateEvaluations(), WsfQuantumTaskerProcessor::UpdateEvaluations(), WsfQuantumMatrix(), and ~WsfQuantumMatrix().
|
protected |
|
protected |
Referenced by WsfQuantumTaskerProcessor::AllocateExtraTasks(), ClearTasks(), EraseTask(), operator=(), RemoveTask(), SetAssets(), SetTasks(), Tasks(), WsfQuantumTaskerProcessor::Update(), UpdateEvaluations(), WsfQuantumTaskerProcessor::UpdateEvaluations(), WsfQuantumMatrix(), and WsfQuantumTaskerProcessor::~WsfQuantumTaskerProcessor().
|
protected |