1#ifndef CYCLUS_SRC_TRADE_H_
2#define CYCLUS_SRC_TRADE_H_
34 return ((
lhs.request ==
rhs.request) &&
36 (
lhs.price ==
rhs.price) &&
A Bid encapsulates all the information required to communicate a bid response to a request for a reso...
A Request encapsulates all the information required to communicate the needs of an agent in the Dynam...
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
bool operator==(const CapacityConstraint< T > &lhs, const CapacityConstraint< T > &rhs)
CapacityConstraint-CapacityConstraint equality operator.
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters
A Trade is a simple container that associates a request for a resource with a bid for that resource.
Trade(Request< T > *request, Bid< T > *bid, double amt)