11 std::copy(outs.begin(), outs.end(),
outputs.begin());
28 std::copy(outs.begin(), outs.end(),
outputs.begin());
ConstantPiece()
Create a muq::Modeling::ConstantPiece with no given outputs.
void SetOutputs(ith const &in, Args... args)
Create a muq::Modeling::ConstantPiece with the outputs given indivually.
Base class for MUQ's modelling envronment.
std::map< unsigned int, std::string > outputTypes
The output types.
virtual void EvaluateImpl(ref_vector< boost::any > const &inputs)=0
User-implemented function that determines the behavior of this muq::Modeling::WorkPiece.
std::vector< std::string > Types(std::vector< boost::any > const &vec) const
Get the types from a vector of boost::any's.
bool clearOutputs
Clear outputs every time Evaluate is called.
int numOutputs
The number of outputs.
std::vector< boost::any > outputs
The outputs.
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...