ConcatenationContainer
class ConcatenationContainer<T : DefinableDomain<Double>>(members: List<T>, absoluteDomains: List<Range<Double>>, absoluteStarts: List<Double>, tolerance: Double = 0.0)
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
members
members that are locally defined
absoluteDomains
absolute domains of the respective member that is defined locally
absoluteStarts
absolute starts of the respective member that is defined locally
Constructors
Types
Link copied to clipboard
Small helper class storing the local parameter and the corresponding member.
Functions
Link copied to clipboard
fun fuzzySelectMember(parameter: Double, tolerance: Double): Either<Exception, ConcatenationContainer.LocalRequest<T>>
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.
Link copied to clipboard
fun strictSelectMember(parameter: Double): Either<Exception, ConcatenationContainer.LocalRequest<T>>
Returns the selected member and the locally translated parameter.