CYCLUS
Loading...
Searching...
No Matches
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:
cyclus::ExchangeNodeGroup

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)
 
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 () const
 
bool HasArcs ()
 
std::vector< ExchangeNode::Ptr > & nodes ()
 
const std::vector< ExchangeNode::Ptr > & nodes () const
 

Member Typedef Documentation

◆ Ptr

Definition at line 182 of file exchange_graph.h.

Constructor & Destructor Documentation

◆ RequestGroup()

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

Definition at line 103 of file exchange_graph.cc.

Member Function Documentation

◆ AddExchangeNode()

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

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 exchange_graph.cc.

◆ qty()

double cyclus::RequestGroup::qty ( )
inline

Definition at line 186 of file exchange_graph.h.


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