class ConcatenationContainer<T : DefinableDomain<Double>> : Any

Concatenates a list of members with a locally defined domain to a container with an absolutely defined domain. Requests to the container can be performed in the absolute domain, and the container will translate them to the local domain.

Fields

Name Description
val domain: RangeSet(absoluteDomains.toSet()).span()

Constructors

<init>

constructor(members: List<T>, absoluteDomains: List<Range<Double>>, absoluteStarts: List<Double>, tolerance: Double)

Concatenates a list of members with a locally defined domain to a container with an absolutely defined domain. Requests to the container can be performed in the absolute domain, and the container will translate them to the local domain.

Parameters

Name Description
members: List<T>

members that are locally defined

absoluteDomains: List<Range<Double>>

absolute domains of the respective member that is defined locally

absoluteStarts: List<Double>

absolute starts of the respective member that is defined locally

tolerance: Double

Methods

strictSelectMember

fun strictSelectMember(parameter: Double): Result, Exception><LocalRequest<T>, Exception>

Returns the selected member and the locally translated parameter.

Parameters

Name Description
parameter: Double

absolute parameter

ReturnValue

Name Description
Result, Exception><LocalRequest<T>, Exception>

fuzzySelectMember

fun fuzzySelectMember(parameter: Double, tolerance: Double): Result, Exception><LocalRequest<T>, Exception>

Returns the selected member and the locally translated parameter. First applies a strict member selection and then relaxes the member choice by a fuzzy selection.

Parameters

Name Description
parameter: Double

absolute parameter

tolerance: Double

applied tolerance for the fuzzy selection

ReturnValue

Name Description
Result, Exception><LocalRequest<T>, Exception>