pytspl.io.sc_generator
Module for generating a random simplicial complex.
Functions
|
Generate a random simplicial complex. |
Module Contents
- pytspl.io.sc_generator.generate_random_simplicial_complex(num_of_nodes: int, p: float, dist_threshold: float, seed: int) tuple[source]
Generate a random simplicial complex.
- Args:
num_of_nodes (int): Number of nodes in the graph. p (float): Probability of edge creation. dist_threshold (float): Threshold for simplicial complex construction. seed (int): Seed for random number generator.
- Returns:
SimplicialComplex: The generated simplicial complex. dict: The coordinates of the nodes.