Modules

ModuleSource FileDescription
datastructs_hash_mod hash.f90
datastructs_histograms_mod histograms.f90

Module for weighted histograms with statistical operations.

Read more…
datastructs_kinds_mod kinds.f90

Module providing kind parameters and utility functions for numerical types.

Read more…
datastructs_lists_dynamical_list_mod dynamical_list.f90

This module implements a dynamical list, in which elements can be added or removed dynamically. It assumes that there is a maximum size, and elements can be added or removed up to that size. Example:

Read more…
datastructs_lists_fixed_list_mod fixed_list.f90

This module implements a fixed list, that has a fixed size and cannot be resized. It also has pointers, allowing to build a linked list structure. Example:

Read more…
datastructs_lists_mod lists.f90

General module for lists and related operations It imports the necessary modules for list and heap implementations

datastructs_logger_mod logger.f90

Logging module for managing verbosity levels and output destinations. This module provides a simple logging system with support for different log levels (ERROR, WARNING, INFO, DEBUG), configurable verbosity, and output units.

Read more…
datastructs_maxheap_mod maxheap.f90

This module implements a maxheap structure, keeping track of the maximum value and its index. Example:

Read more…
datastructs_measures_mod measures.f90

This module implements a time step controller and an object to manage statistical measures

Read more…
datastructs_mod datastructs_mod.f90

Hash functions

Read more…
datastructs_samplers_base_mod base.f90

This module implements the basic structure for weighted samplers

datastructs_samplers_btree_mod btree.f90

This modules implements a binary tree sampler It provides a way to sample elements based on their weights using a binary tree structure.

datastructs_samplers_mod samplers.f90

Module to select an weighted sampler The idea is that it contains the list of indexes up to a size n, and each index has an weight The sampling is done proportionally to the weights. It depends on the rndgen-fortran module, found at https://github.com/wcota/rndgen-fortran Each sampler algorithm is implemented separately. !> Example: ```fortran program example_sampler use datastructs_fortran use kinds_mod use rndgen_mod implicit none

Read more…
datastructs_samplers_rejection_maxheap_composition_mod rejection_maxheap_composition.f90

This module implements a rejection composition sampler It is based on "St-Onge, G., Young, J. G., Hébert-Dufresne, L., & Dubé, L. J. (2019). Efficient sampling of spreading processes on complex networks using a composition and rejection algorithm. Computer physics communications, 240, 30-37" https://doi.org/10.1016/j.cpc.2019.02.008

datastructs_samplers_rejection_maxheap_mod rejection_maxheap.f90
datastructs_samplers_rejection_maxheap_two_classes_mod rejection_maxheap_two_classes.f90

This module implements rejection sampling with two classes We split the weights into two classes based on a threshold

datastructs_samplers_rejection_mod rejection.f90

This module implements a rejection sampling

datastructs_samplers_rejection_two_classes_mod rejection_two_classes.f90

This module implements rejection sampling with two classes We split the weights into two classes based on a threshold

module~~graph~~ModuleGraph module~datastructs_hash_mod datastructs_hash_mod module~datastructs_kinds_mod datastructs_kinds_mod module~datastructs_hash_mod->module~datastructs_kinds_mod module~datastructs_histograms_mod datastructs_histograms_mod module~datastructs_histograms_mod->module~datastructs_kinds_mod iso_fortran_env iso_fortran_env module~datastructs_kinds_mod->iso_fortran_env module~datastructs_lists_dynamical_list_mod datastructs_lists_dynamical_list_mod module~datastructs_lists_dynamical_list_mod->module~datastructs_kinds_mod module~datastructs_lists_fixed_list_mod datastructs_lists_fixed_list_mod module~datastructs_lists_fixed_list_mod->module~datastructs_kinds_mod module~datastructs_lists_mod datastructs_lists_mod module~datastructs_lists_mod->module~datastructs_kinds_mod module~datastructs_lists_mod->module~datastructs_lists_dynamical_list_mod module~datastructs_lists_mod->module~datastructs_lists_fixed_list_mod module~datastructs_maxheap_mod datastructs_maxheap_mod module~datastructs_lists_mod->module~datastructs_maxheap_mod module~datastructs_logger_mod datastructs_logger_mod module~datastructs_logger_mod->module~datastructs_kinds_mod module~datastructs_logger_mod->iso_fortran_env module~datastructs_maxheap_mod->module~datastructs_kinds_mod module~datastructs_measures_mod datastructs_measures_mod module~datastructs_measures_mod->module~datastructs_kinds_mod module~datastructs_mod datastructs_mod module~datastructs_mod->module~datastructs_hash_mod module~datastructs_mod->module~datastructs_histograms_mod module~datastructs_mod->module~datastructs_lists_mod module~datastructs_mod->module~datastructs_logger_mod module~datastructs_mod->module~datastructs_measures_mod module~datastructs_samplers_base_mod datastructs_samplers_base_mod module~datastructs_mod->module~datastructs_samplers_base_mod module~datastructs_samplers_mod datastructs_samplers_mod module~datastructs_mod->module~datastructs_samplers_mod module~datastructs_samplers_base_mod->module~datastructs_kinds_mod module~datastructs_samplers_btree_mod datastructs_samplers_btree_mod module~datastructs_samplers_btree_mod->module~datastructs_kinds_mod module~datastructs_samplers_btree_mod->module~datastructs_samplers_base_mod module~datastructs_samplers_mod->module~datastructs_kinds_mod module~datastructs_samplers_mod->module~datastructs_samplers_base_mod module~datastructs_samplers_rejection_maxheap_composition_mod datastructs_samplers_rejection_maxheap_composition_mod module~datastructs_samplers_rejection_maxheap_composition_mod->module~datastructs_kinds_mod module~datastructs_samplers_rejection_maxheap_composition_mod->module~datastructs_lists_mod module~datastructs_samplers_rejection_maxheap_composition_mod->module~datastructs_samplers_base_mod module~datastructs_samplers_rejection_maxheap_composition_mod->module~datastructs_samplers_btree_mod module~datastructs_samplers_rejection_maxheap_mod datastructs_samplers_rejection_maxheap_mod module~datastructs_samplers_rejection_maxheap_composition_mod->module~datastructs_samplers_rejection_maxheap_mod module~datastructs_samplers_rejection_maxheap_mod->module~datastructs_kinds_mod module~datastructs_samplers_rejection_maxheap_mod->module~datastructs_lists_mod module~datastructs_samplers_rejection_maxheap_mod->module~datastructs_samplers_base_mod module~datastructs_samplers_rejection_maxheap_two_classes_mod datastructs_samplers_rejection_maxheap_two_classes_mod module~datastructs_samplers_rejection_maxheap_two_classes_mod->module~datastructs_kinds_mod module~datastructs_samplers_rejection_maxheap_two_classes_mod->module~datastructs_lists_mod module~datastructs_samplers_rejection_maxheap_two_classes_mod->module~datastructs_samplers_base_mod module~datastructs_samplers_rejection_maxheap_two_classes_mod->module~datastructs_samplers_rejection_maxheap_mod module~datastructs_samplers_rejection_mod datastructs_samplers_rejection_mod module~datastructs_samplers_rejection_mod->module~datastructs_kinds_mod module~datastructs_samplers_rejection_mod->module~datastructs_lists_mod module~datastructs_samplers_rejection_mod->module~datastructs_samplers_base_mod module~datastructs_samplers_rejection_two_classes_mod datastructs_samplers_rejection_two_classes_mod module~datastructs_samplers_rejection_two_classes_mod->module~datastructs_kinds_mod module~datastructs_samplers_rejection_two_classes_mod->module~datastructs_lists_mod module~datastructs_samplers_rejection_two_classes_mod->module~datastructs_samplers_base_mod module~datastructs_samplers_rejection_two_classes_mod->module~datastructs_samplers_rejection_mod proc~choose_sampler choose_sampler proc~choose_sampler->module~datastructs_samplers_btree_mod proc~choose_sampler->module~datastructs_samplers_rejection_maxheap_composition_mod proc~choose_sampler->module~datastructs_samplers_rejection_maxheap_mod proc~choose_sampler->module~datastructs_samplers_rejection_maxheap_two_classes_mod proc~choose_sampler->module~datastructs_samplers_rejection_mod proc~choose_sampler->module~datastructs_samplers_rejection_two_classes_mod proc~unique_values unique_values stdlib_sorting stdlib_sorting proc~unique_values->stdlib_sorting
Help