|
GridFire v0.7.0_rc1
General Purpose Nuclear Network
|
#include <py_policy.h>
Public Member Functions | |
| std::string | name () const override |
| Human-readable name for the policy. | |
| const std::set< fourdst::atomic::Species > & | get_seed_species () const override |
| Returns the seed species the policy requires to initialize the network. | |
| const gridfire::reaction::ReactionSet & | get_seed_reactions () const override |
| Returns the set of seed reactions the policy requires. | |
| gridfire::engine::DynamicEngine & | construct () override |
| Construct and return a DynamicEngine instance (or engine view stack) satisfying the policy. | |
| gridfire::policy::NetworkPolicyStatus | get_status () const override |
| Returns the current verification/construction status of the policy. | |
| const std::vector< std::unique_ptr< gridfire::engine::DynamicEngine > > & | get_engine_stack () const override |
| std::vector< gridfire::engine::EngineTypes > | get_engine_types_stack () const override |
| const std::unique_ptr< gridfire::partition::PartitionFunction > & | get_partition_function () const override |
Public Member Functions inherited from gridfire::policy::NetworkPolicy | |
| virtual | ~NetworkPolicy ()=default |
|
nodiscardoverridevirtual |
Construct and return a DynamicEngine instance (or engine view stack) satisfying the policy.
Implementations typically build one or more engine layers (GraphEngine, MultiscalePartitioningEngineView, AdaptiveEngineView, etc.) and return a reference to the top-most DynamicEngine. The storage lifetime of the returned reference is implementation-defined (usually owned by the policy instance).
| gridfire::exceptions::MissingKeyReactionError | if required reactions are not present in the constructed network (see gridfire/exceptions/error_policy.h). |
| gridfire::exceptions::MissingSeedSpeciesError | if required seed species are missing from the initializing composition. |
| gridfire::exceptions::PolicyError | for other construction/verification failures. |
Implements gridfire::policy::NetworkPolicy.
|
nodiscardoverridevirtual |
Implements gridfire::policy::NetworkPolicy.
|
nodiscardoverridevirtual |
Implements gridfire::policy::NetworkPolicy.
|
nodiscardoverridevirtual |
Implements gridfire::policy::NetworkPolicy.
|
nodiscardoverridevirtual |
Returns the set of seed reactions the policy requires.
The ReactionSet describes reactions that must be present in the constructed network for the policy to be considered satisfied. Concrete policies often implement their reaction requirements by composing one or more ReactionChainPolicy instances (see chains.h).
Implements gridfire::policy::NetworkPolicy.
|
nodiscardoverridevirtual |
Returns the seed species the policy requires to initialize the network.
The returned set contains atomic species identifiers (fourdst::atomic::Species) which the policy expects to be present in the initial composition used to build the network.
Implementations should return a copy or an immutable reference to their internal set of required seed species.
Implements gridfire::policy::NetworkPolicy.
|
nodiscardoverridevirtual |
Returns the current verification/construction status of the policy.
The status reports whether the policy has been initialized and whether the constructed network satisfies the policy's key requirements.
Implements gridfire::policy::NetworkPolicy.
|
nodiscardoverridevirtual |
Human-readable name for the policy.
Implements gridfire::policy::NetworkPolicy.