Public Types | Public Member Functions | List of all members
cyclus::RequestGroup Class Reference

Detailed Description

A RequestGroup is a specific ExchangeNodeGroup with a notion of an total requested quantity.

Definition at line 180 of file exchange_graph.h.

#include <exchange_graph.h>

Inheritance diagram for cyclus::RequestGroup:
Inheritance graph

Public Types

typedef boost::shared_ptr< RequestGroupPtr
- Public Types inherited from cyclus::ExchangeNodeGroup
typedef boost::shared_ptr< ExchangeNodeGroupPtr

Public Member Functions

virtual void AddExchangeNode (ExchangeNode::Ptr node)
double qty ()
 RequestGroup (double qty=0.0)
- Public Member Functions inherited from cyclus::ExchangeNodeGroup
void AddCapacity (double c)
void AddExclGroup (std::vector< ExchangeNode::Ptr > &nodes)
void AddExclNode (ExchangeNode::Ptr n)
const std::vector< double > & capacities () const
std::vector< double > & capacities ()
const std::vector< std::vector< ExchangeNode::Ptr > > & excl_node_groups () const
std::vector< std::vector< ExchangeNode::Ptr > > & excl_node_groups ()
bool HasArcs ()
const std::vector< ExchangeNode::Ptr > & nodes () const
std::vector< ExchangeNode::Ptr > & nodes ()

Member Typedef Documentation

◆ Ptr

typedef boost::shared_ptr<RequestGroup> cyclus::RequestGroup::Ptr

Definition at line 182 of file exchange_graph.h.

Constructor & Destructor Documentation

◆ RequestGroup()

cyclus::RequestGroup::RequestGroup ( double  qty = 0.0)

Definition at line 103 of file

Member Function Documentation

◆ AddExchangeNode()

void cyclus::RequestGroup::AddExchangeNode ( ExchangeNode::Ptr  node)

Add the node to the ExchangeNodeGroup and informs the node it is a member of this ExchangeNodeGroup, if the node is exclusive, also add it to the group of exclusive nodes.

Reimplemented from cyclus::ExchangeNodeGroup.

Definition at line 106 of file

◆ qty()

double cyclus::RequestGroup::qty ( )

Definition at line 186 of file exchange_graph.h.

The documentation for this class was generated from the following files: