Classes | Modules

mapping - classes representing mathematical mappings

Collaboration diagram for mapping - classes representing mathematical mappings:

Classes

class  Dimension
 Specifies a dimension for mappings (like time, frequency, etc.). More...
class  DimensionSet
 Represents a set of dimensions which is used to define over which dimensions a mapping is defined (the domain of the mapping). More...
class  Argument
 Defines an argument for a mapping. More...
class  NoNextIteratorException
 This exception is thrown by the MappingIterators when "next()" or "nextPosition()" is called although "hasNext()" would return false (means there is no next position). More...
class  ConstMappingIterator
 Defines an const iterator for a ConstMapping which is able to iterate over the Mapping. More...
class  ConstMapping
 Represents a not changeable mapping (mathematical function) from domain with at least the time to a double value. More...
class  MappingIterator
 Defines an iterator for a Mapping which is able to iterate over the Mapping. More...
class  Mapping
 Represents a changeable mapping (mathematical function) from at least time to double. More...
class  SimpleConstMappingIterator
 A fully working ConstIterator-implementation usable with almost every ConstMapping. More...
class  SimpleConstMapping
 Abstract subclass of ConstMapping which can be used as base for any ConstMapping implementation with read access of constant complexity. More...
class  TimeMappingIterator< Interpolator >
 Provides an implementation of the MappingIterator- Interface which is able to iterate over TimeMappings. More...
class  TimeMapping< Interpolator >
 Implements the Mapping-interface with an InterpolateableMap from simtime_t to double between which values can be interpolated to represent a Mapping with only time as domain. More...
class  ConstantSimpleConstMapping
 Represents a constant mathematical mapping (f(x) = c). More...
class  MultiDimMappingIterator< Interpolator >
 Implementation of the MappingIterator-interface which is able to iterate over every value in a MultiDimMapping. More...
class  MultiDimMapping< Interpolator >
 Implementation of the Mapping-interface which is able to represent arbitrary dimensional instances of Mappings by using a tree-like structure of sub-mappings, each representing the values for one of the dimensions. More...
class  MappingUtils
 Provides several utility methods for Mappings. More...
class  JakesFadingMapping
 Mapping used to represent attenuation of a signal by JakesFading. More...
class  SimplePathlossConstMapping
 Mapping that represents a Pathloss-function. More...
class  SimpleTimeConstMapping
 TODO: short description for this class. More...

Modules

 mappingDetails - mostly internal mapping classes

Detailed Description

The following class graph shows an overview of the most important classes used by Mappings.

MappingDetail.png

There a two types of mapping interfaces, ConstMapping and Mapping. ConstMapping can represent any mathematical mapping but the the course of the mapping can't be set or changed arbitrary. This interface is meant to be used for implementations which define the course of the mapping by a concrete formula. The Mapping interface extends the ConstMapping interface by a setValue() method which can set and change the course of the represented mapping arbitrary. This interface is meant to be used for generic mapping implementations which uses methods like interpolation to be able to represent any arbitrary course of a mapping.

Every ConstMapping (and therefore every Mapping) has a DimensionSet member which defines the domain of the represented mapping. The DimensionSet class itself is an actual set of Dimension objects. Each Dimension object represents a certain dimension like time or frequency.

Further ConstMapping and Mapping define their own Iterator interfaces ConstMappingIterator and MappingIterator which define the interface for iterators over a mapping implementation.

The last important class is the Argument. It defines a position in a mappings domain by mapping a number of Dimensions to the value inside that Dimension.