105template <ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = InputType>
124 [[nodiscard]] std::string
get_name()
const override
174template <ComputeData OutputType = std::vector<Kakshya::DataVariant>>
178template <ComputeData OutputType = std::shared_ptr<Kakshya::SignalSourceContainer>>
182template <ComputeData OutputType = Kakshya::Region>
186template <ComputeData OutputType = Kakshya::RegionGroup>
190template <ComputeData OutputType = std::vector<Kakshya::RegionSegment>>
194template <ComputeData InputType = std::vector<Kakshya::DataVariant>>
198template <ComputeData InputType = std::vector<Kakshya::DataVariant>>
202template <
typename T, ComputeData OutputType = std::vector<std::vector<T>>>
206template <ComputeData InputType = std::vector<Kakshya::DataVariant>>
#define MF_DESCRIBE(...)
Requests a generated member description for a struct at namespace scope.
ConfigRefs stored_configs(Supports< Configs... >) const
The stored configs among those listed, in listed order.
ComputeOperation()
Constructor with data type validation warnings.
virtual bool validate_sorting_input(const input_type &) const
Input validation (override for custom validation logic).
virtual output_type sort_implementation(const input_type &input)=0
Pure virtual sorting implementation - derived classes implement this.
virtual ~Sorter()=default
ConfigRefs configs() const override
The base view of the config structs this operation holds.
virtual std::string get_sorter_name() const
Get sorter-specific name (derived classes override this).
output_type operation_function(const input_type &input) override
Core operation implementation - called by ComputeOperation interface.
virtual SortingType get_sorting_type() const =0
Gets the sorting type category for this sorter.
ComputeOperation< InputType, OutputType > base_type
Datum< OutputType > output_type
OperationType get_operation_type() const override
Returns the category of this operation for grammar and registry discovery.
Datum< InputType > input_type
std::string get_name() const override
Gets human-readable name for this sorter.
Template-flexible sorter base with instance-defined I/O types.
Sorter< InputType, std::vector< std::vector< size_t > > > IndexSorter
Sorter for indices generation.
@ TEMPORAL
Time-based patterns, onset detection.
@ CUSTOM
User-defined analysis types.
@ SPATIAL
Multi-dimensional geometric analysis.
@ RECURSIVE
Recursive/nested extraction.
@ PATTERN_BASED
Extract based on pattern recognition.
Sorter< Kakshya::RegionGroup, OutputType > RegionGroupSorter
Sorter for region group processing.
Sorter< InputType, Eigen::MatrixXd > MatrixSorter
Sorter that produces Eigen matrices.
OperationType
Operation categories for organization and discovery.
SortingStrategy
Sorting execution strategies.
@ LAZY_SORT
Lazy evaluation sorting (future: coroutines).
@ PARTIAL_SORT
Sort only top-K elements.
@ IN_PLACE
Sort data in-place (modifies input).
@ COPY_SORT
Create sorted copy (preserves input).
@ CHUNKED_SORT
Sort in chunks for large datasets.
@ PARALLEL_SORT
Parallel/concurrent sorting.
@ INDEX_ONLY
Generate sort indices only.
Sorter< InputType, Eigen::VectorXd > VectorSorter
Sorter that produces Eigen vectors.
Sorter< std::vector< std::vector< T > >, OutputType > VectorContainerSorter
Sorter for vector containers.
SortingType
Categories of sorting operations for discovery and organization.
@ CROSS_MODAL
Sort one modality by features of another.
@ STANDARD
Traditional comparison-based sorting.
@ PREDICTIVE
ML/AI-based predictive sorting.
@ ALGORITHMIC
Mathematical/computational sorting algorithms.
Sorter< std::shared_ptr< Kakshya::SignalSourceContainer >, OutputType > ContainerSorter
Sorter for signal container processing.
Sorter< Kakshya::Region, OutputType > RegionSorter
Sorter for region-based sorting.
Sorter< std::vector< Kakshya::RegionSegment >, OutputType > SegmentSorter
Sorter for segment processing.
Sorter< std::vector< Kakshya::DataVariant >, OutputType > DataSorter
Sorter that takes DataVariant and produces DataVariant.
std::vector< std::reference_wrapper< const OperationConfig > > ConfigRefs
Borrowed views of the configs an operation holds.
Input/Output container for computation pipeline data flow with structure preservation.
OperationConfig()=default
Parent of every sorter's config struct.
The config structs an operation class accepts, declared as using supports.