The Conley-Morse Graphs Software
Classes | Functions
mapparam.h File Reference

A simple aggregate data structure for map parameters. More...

#include <string>
#include <sstream>
#include <vector>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <memory>
#include <utility>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/struct/autoarray.h"
#include "chomp/multiwork/mwdata.h"

Go to the source code of this file.

Classes

class  MapParam
 A data structure for storing map parameters. More...
 

Functions

bool operator== (const MapParam &a, const MapParam &b)
 Checks if the two collections of parameters are exactly the same. More...
 
template<class InputStream >
InputStream & operator>> (InputStream &in, MapParam &param)
 
template<class OutputStream >
OutputStream & operator<< (OutputStream &out, const MapParam &param)
 
chomp::multiwork::mwData & operator<< (chomp::multiwork::mwData &data, const MapParam &mapParam)
 Serializes an object with map parameters. More...
 
chomp::multiwork::mwData & operator>> (chomp::multiwork::mwData &data, MapParam &mapParam)
 Deserializes an object with map parameters. More...
 
bool intersect (const MapParam &par1, const MapParam &par2)
 Checks if two aggregate parameter objects are so close to each other that after a small blow-up they intersect. More...
 
bool shareInteriors (const MapParam &par1, const MapParam &par2)
 Checks if two aggregate parameter objects that intersect actually share interiors in the parameters of non-zero length. More...
 

Detailed Description

A simple aggregate data structure for map parameters.

Author
Pawel Pilarczyk

Definition in file mapparam.h.

Function Documentation

◆ intersect()

bool intersect ( const MapParam par1,
const MapParam par2 
)
inline

Checks if two aggregate parameter objects are so close to each other that after a small blow-up they intersect.

Definition at line 257 of file mapparam.h.

Referenced by MapOptimization::prepareData(), and OdeIntegrParam::useInfo().

◆ operator<<() [1/2]

chomp::multiwork::mwData & operator<< ( chomp::multiwork::mwData &  data,
const MapParam mapParam 
)
inline

Serializes an object with map parameters.

Definition at line 213 of file mapparam.h.

◆ operator<<() [2/2]

template<class OutputStream >
OutputStream & operator<< ( OutputStream &  out,
const MapParam param 
)
inline

Definition at line 205 of file mapparam.h.

◆ operator==()

bool operator== ( const MapParam a,
const MapParam b 
)
inline

Checks if the two collections of parameters are exactly the same.

Returns true if yes, false if no.

Definition at line 181 of file mapparam.h.

◆ operator>>() [1/2]

chomp::multiwork::mwData & operator>> ( chomp::multiwork::mwData &  data,
MapParam mapParam 
)
inline

Deserializes an object with map parameters.

Definition at line 227 of file mapparam.h.

◆ operator>>() [2/2]

template<class InputStream >
InputStream & operator>> ( InputStream &  in,
MapParam param 
)
inline

Definition at line 199 of file mapparam.h.

◆ shareInteriors()

bool shareInteriors ( const MapParam par1,
const MapParam par2 
)
inline

Checks if two aggregate parameter objects that intersect actually share interiors in the parameters of non-zero length.

Note: It must be first verified that they intersect, because the parameters of zero width are not checked.

Definition at line 282 of file mapparam.h.

Referenced by MapOptimization::prepareData(), and OdeIntegrParam::useInfo().