CYCLUS
Loading...
Searching...
No Matches
exchange_translator.h File Reference
#include <sstream>
#include "bid.h"
#include "bid_portfolio.h"
#include "error.h"
#include "exchange_graph.h"
#include "exchange_translation_context.h"
#include "logger.h"
#include "request.h"
#include "request_portfolio.h"
#include "trade.h"

Go to the source code of this file.

Classes

class  cyclus::ExchangeTranslator< T >
 

Namespaces

namespace  cyclus
 

Functions

template<class T >
void cyclus::AddBid (ExchangeTranslationContext< T > &translation_ctx, Bid< T > *b, ExchangeNode::Ptr n)
 
template<class T >
void cyclus::AddRequest (ExchangeTranslationContext< T > &translation_ctx, Request< T > *r, ExchangeNode::Ptr n)
 
template<class T >
Trade< Tcyclus::BackTranslateMatch (const ExchangeTranslationContext< T > &translation_ctx, const Match &match)
 
template<class T >
Arc cyclus::TranslateArc (const ExchangeTranslationContext< T > &translation_ctx, Bid< T > *bid)
 
template<class T >
Arc cyclus::TranslateArc (const ExchangeTranslationContext< T > &translation_ctx, Bid< T > *bid, double pref)
 
template<class T >
ExchangeNodeGroup::Ptr cyclus::TranslateBidPortfolio (ExchangeTranslationContext< T > &translation_ctx, const typename BidPortfolio< T >::Ptr bp)
 
template<typename T >
void cyclus::TranslateCapacities (typename T::Ptr offer, const typename std::set< CapacityConstraint< T > > &constr, ExchangeNode::Ptr n, const Arc &a, const ExchangeTranslationContext< T > &ctx)
 
template<class T >
RequestGroup::Ptr cyclus::TranslateRequestPortfolio (ExchangeTranslationContext< T > &translation_ctx, const typename RequestPortfolio< T >::Ptr rp)