ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
catalog_generator_service Class Referencefinal

Service for generating coherent synthetic data catalogs. More...

#include <catalog_generator_service.hpp>

Collaboration diagram for catalog_generator_service:
Collaboration graph

Public Member Functions

domain::synthetic_catalog generate (const domain::generation_options &options)
 Generates a complete synthetic data catalog.
 
domain::synthetic_catalog generate ()
 Generates a synthetic catalog with default options.
 

Detailed Description

Service for generating coherent synthetic data catalogs.

This is the main entry point for the ores.synthetic library. It creates complete synthetic data catalogs with proper relationships between entities. All generated data is consistent, high-quality, and can be used together for testing purposes.

Key features:

Example usage:

// Generate with defaults
auto catalog = service.generate();
// Generate with custom options
generation_options opts;
opts.seed = 42; // Reproducible
opts.dataset_count = 50;
auto catalog2 = service.generate(opts);
// Regenerate same data
opts.seed = catalog.seed;
auto same_catalog = service.generate(opts);
std::uint64_t seed
The seed used to generate this catalog.
Definition synthetic_catalog.hpp:61
Service for generating coherent synthetic data catalogs.
Definition catalog_generator_service.hpp:60
domain::synthetic_catalog generate(const domain::generation_options &options)
Generates a complete synthetic data catalog.
Definition catalog_generator_service.cpp:141

Member Function Documentation

◆ generate() [1/2]

Generates a complete synthetic data catalog.

Creates a coherent catalog where all entities reference each other properly. Datasets reference existing catalogs, domains, dimensions, and methodologies. All recorded_by fields reference existing accounts.

Parameters
optionsConfiguration for the generation process.
Returns
A complete synthetic catalog with proper relationships.

◆ generate() [2/2]

Generates a synthetic catalog with default options.

Uses sensible defaults for all entity counts:

  • 5 accounts
  • 3 catalogs
  • 4 data domains with 3 subject areas each
  • Standard dimension values
  • 5 methodologies
  • 20 datasets
Returns
A complete synthetic catalog with default sizes.
Here is the caller graph for this function: