The Conley-Morse Graphs Software
|
Caching Morse decompositions using compressed binary files. More...
#include <algorithm>
#include <new>
#include <string>
#include <sstream>
#include "chomp/system/textfile.h"
#include "chomp/cubes/pointset.h"
#include "chomp/struct/digraph.h"
#include "chomp/struct/multitab.h"
#include "chomp/struct/hashsets.h"
#include "chomp/system/timeused.h"
#include "config.h"
#include "typedefs.h"
#include "conindex.h"
#include "morsedec.h"
#include "typedyns.h"
#include "utils.h"
#include "bytecompr.h"
#include "byteutil.h"
Go to the source code of this file.
Functions | |
void | saveMorseDecCache (const char *fileName, const theMorseDecompositionType &morseDec, const std::vector< int > &wrongIndices, const std::vector< int > &skippedIndices, const std::vector< int > &attractors) |
Saves a Morse decomposition to a binary file. More... | |
void | loadMorseDecCache (const char *fileName, theMorseDecompositionType &morseDec, std::vector< int > &wrongIndices, std::vector< int > &skippedIndices, std::vector< int > &attractors) |
Loads a Morse decomposition from a binary file. More... | |
Caching Morse decompositions using compressed binary files.
This file contains the definition of two functions, one for saving and another one for retrieving a Morse decomposition together with auxiliary data (as computed by computeMorseDecomposition).
Definition in file morsecache.h.
|
inline |
Loads a Morse decomposition from a binary file.
Throws an error message in case of failure.
Definition at line 117 of file morsecache.h.
References controlNumber.
Referenced by computeMorseDecomposition().
|
inline |
Saves a Morse decomposition to a binary file.
Throws an error message in case of failure.
Definition at line 77 of file morsecache.h.
References controlNumber.
Referenced by computeMorseDecomposition().