Skip to content

File generator_montesinos.c

FileList > gen-montesinos > src > generator_montesinos.c

Go to the source code of this file

A module for generating montesinos tangles. More...

  • #include "generator_montesinos.h"
  • #include "stdbool.h"
  • #include "stdint.h"
  • #include "stdio.h"
  • #include "stdlib.h"

Public Static Attributes

Type Name
gen_montesinos_config_t * gen_montesinos_localcfg = NULL
The local configuration of the montesinos gen module.

Public Functions

Type Name
uint8_t gen_montesinos_config (gen_montesinos_config_t * config_arg)
The public configuration function.
uint8_t gen_montesinos_generate ()
The public generation function. When called the module will work against the current config.
STATIC_INLINE_UINT8 gen_montesinos_process_lists ()
STATIC_INLINE_UINT8 gen_montesinos_process_loop_state (const size_t * stack)

Detailed Description

Author:

Isabel Darcy

Author:

Zachary Bryhtan

Author:

Joe Starr

Public Static Attributes Documentation

variable gen_montesinos_localcfg

The local configuration of the montesinos gen module.

gen_montesinos_config_t* gen_montesinos_localcfg;


Public Functions Documentation

function gen_montesinos_config

The public configuration function.

uint8_t gen_montesinos_config (
    gen_montesinos_config_t * config_arg
) 

Parameters:

  • config_arg The config to set.

function gen_montesinos_generate

The public generation function. When called the module will work against the current config.

uint8_t gen_montesinos_generate () 

Returns:

uint8_t Generation status info.


function gen_montesinos_process_lists

STATIC_INLINE_UINT8 gen_montesinos_process_lists () 

function gen_montesinos_process_loop_state

STATIC_INLINE_UINT8 gen_montesinos_process_loop_state (
    const size_t * stack
) 


The documentation for this class was generated from the following file source/gen-montesinos/src/generator_montesinos.c