TimeloopFE
Loading...
Searching...
No Matches
timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor Class Reference

Resolves which data spaces are kept in which branches. More...

Inheritance diagram for timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor:
Collaboration diagram for timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor:

Public Member Functions

Set[str] get_problem_ds_names (self, spec)
 
 process (self, Specification spec)
 Process the specification.
 
- Public Member Functions inherited from timeloopfe.common.processor.Processor
 __init__ (self, Optional["Specification"] spec=None)
 
 pre_parse_process (self, "Specification" spec)
 Process the specification before parsing.
 
 declare_attrs (self)
 Initialize the attributes that the processor is responsible for.
 
 get_index (self, type processor_type, "Specification" spec)
 Get the index of the processor in the list of processors.
 
 must_run_after (self, type other, "Specification" spec, bool ok_if_not_found=False)
 Ensure that this processor runs after another processor.
 
 add_attr (self, Node target, *args, **kwargs)
 

Protected Member Functions

Set[str] _get_kept_dataspaces (self, Node b)
 
Set[str] _parse_branch (self, Branch branch, Set[str] dataspaces, Specification spec)
 

Additional Inherited Members

- Public Attributes inherited from timeloopfe.common.processor.Processor
 logger = logging.getLogger(self.__class__.__name__)
 
 spec = spec
 
- Protected Attributes inherited from timeloopfe.common.processor.Processor
bool _initialized = True
 

Detailed Description

Resolves which data spaces are kept in which branches.

Member Function Documentation

◆ _get_kept_dataspaces()

Set[str] timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor._get_kept_dataspaces ( self,
Node b )
protected

◆ _parse_branch()

Set[str] timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor._parse_branch ( self,
Branch branch,
Set[str] dataspaces,
Specification spec )
protected

◆ get_problem_ds_names()

Set[str] timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor.get_problem_ds_names ( self,
spec )

◆ process()

timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor.process ( self,
Specification spec )

Process the specification.

Reimplemented from timeloopfe.common.processor.Processor.


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