The Finite Resolution Dynamics Software
Classes | Functions
attractor.h File Reference

Construction of a cover of an attractor. More...

#include <iostream>
#include <memory>
#include <cmath>
#include "graph.h"
#include "streams.h"
#include "rounding.h"

Go to the source code of this file.

Classes

class  EdgeAdder< GraphType >
 Auxiliary class for adding edges to a graph. More...
 

Functions

template<class NumType >
NumType diameter2 (const int dim, const NumType *leftBounds, const NumType *rightBounds)
 Computes an upper bound for the square of the diameter of a given box. More...
 
template<class MapType , class CoverType , class GraphType , class NumArray >
double constructAttractor (const MapType &function, CoverType &cover, GraphType &graph, NumArray initialPoint, int iterCount, int maxCoverSize)
 Constructs a cover of an attractor for a given dynamical system. More...
 

Detailed Description

Construction of a cover of an attractor.

This file contains the definition of a function that constructs a cover of an attractor for a given dynamical system, and computes a directed graph representation of the dynamics on this cover.

Author
Pawel Pilarczyk

Definition in file attractor.h.

Function Documentation

◆ constructAttractor()

template<class MapType , class CoverType , class GraphType , class NumArray >
double constructAttractor ( const MapType &  function,
CoverType &  cover,
GraphType &  graph,
NumArray  initialPoint,
int  iterCount,
int  maxCoverSize 
)
inline

Constructs a cover of an attractor for a given dynamical system.

Returns an upper bound for the square of the diameter of map images. Throws an exception in case of failure.

Definition at line 101 of file attractor.h.

Referenced by henonAttractor().

◆ diameter2()

template<class NumType >
NumType diameter2 ( const int  dim,
const NumType *  leftBounds,
const NumType *  rightBounds 
)
inline

Computes an upper bound for the square of the diameter of a given box.

Definition at line 78 of file attractor.h.