Class SpaceVisitor
Class SpaceVisitor
- Defined in File SpaceVisitor.h
class SpaceVisitorSource: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
Dependencies: FBoxSpace, FDictSpace, FDiscreteSpace, FMultiBinarySpace, FMultiDiscreteSpace
Base class for visitors that can operate on mutable spaces.
This class implements the visitor pattern for spaces, allowing operations to be performed on any space type without knowing the concrete type at compile time. Derived classes override the operator() methods to implement specific operations for each space type.
Public Functions
| Symbol | Details |
|---|---|
operator() | Visits a MultiBinarySpace. |
operator() | Visits a DiscreteSpace. |
operator() | Visits a MultiDiscreteSpace. |
operator() | Visits a BoxSpace. |
operator() | Visits a DictSpace. |
operator()
inline virtual void operator()(FMultiBinarySpace &Space)Visits a MultiBinarySpace.
Parameters
Space – [inout] The MultiBinarySpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | FMultiBinarySpace & | The MultiBinarySpace to visit. |
Attributes: inline, virtual
Source: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
operator()
inline virtual void operator()(FDiscreteSpace &Space)Visits a DiscreteSpace.
Parameters
Space – [inout] The DiscreteSpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | FMultiBinarySpace & | The MultiBinarySpace to visit. |
Attributes: inline, virtual
Source: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
operator()
inline virtual void operator()(FMultiDiscreteSpace &Space)Visits a MultiDiscreteSpace.
Parameters
Space – [inout] The MultiDiscreteSpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | FMultiBinarySpace & | The MultiBinarySpace to visit. |
Attributes: inline, virtual
Source: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
operator()
inline virtual void operator()(FBoxSpace &Space)Visits a BoxSpace.
Parameters
Space – [inout] The BoxSpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | FMultiBinarySpace & | The MultiBinarySpace to visit. |
Attributes: inline, virtual
Source: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
operator()
inline virtual void operator()(FDictSpace &Space)Visits a DictSpace.
Parameters
Space – [inout] The DictSpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | FMultiBinarySpace & | The MultiBinarySpace to visit. |
Attributes: inline, virtual