Class IntervalAbstractFactor
- java.lang.Object
-
- ch.idsia.crema.factor.credal.linear.interval.IntervalAbstractFactor
-
- All Implemented Interfaces:
IntervalFactor
,LinearFactor
,SeparateLinearFactor<IntervalFactor>
,SeparatelySpecified<IntervalFactor>
,FilterableFactor<IntervalFactor>
,GenericFactor
- Direct Known Subclasses:
IntervalDefaultFactor
public abstract class IntervalAbstractFactor extends Object implements IntervalFactor
Author: David Huber Project: crema Date: 22.03.2017 18:50
-
-
Field Summary
Fields Modifier and Type Field Description protected Strides
dataDomain
protected Strides
groupDomain
-
Constructor Summary
Constructors Constructor Description IntervalAbstractFactor(Strides dataDomain, Strides groupDomain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Strides
getDataDomain()
The domain of the rest of the domain.Strides
getDomain()
org.apache.commons.math3.optim.linear.LinearConstraintSet
getLinearProblem(int... states)
org.apache.commons.math3.optim.linear.LinearConstraintSet
getLinearProblemAt(int offset)
Strides
getSeparatingDomain()
The domain of the separated part.protected void
setDataDomain(Strides dataDomain)
protected void
setGroupDomain(Strides groupDomain)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.idsia.crema.factor.FilterableFactor
filter
-
Methods inherited from interface ch.idsia.crema.factor.GenericFactor
isLog
-
Methods inherited from interface ch.idsia.crema.factor.credal.linear.interval.IntervalFactor
copy, filter, getLogLower, getLogLowerAt, getLogUpper, getLogUpperAt, getLower, getLowerAt, getUpper, getUpperAt, isInside, merge, merge, updateReachability
-
-
-
-
Method Detail
-
setDataDomain
protected void setDataDomain(Strides dataDomain)
-
setGroupDomain
protected void setGroupDomain(Strides groupDomain)
-
getDomain
public Strides getDomain()
- Specified by:
getDomain
in interfaceGenericFactor
- Specified by:
getDomain
in interfaceIntervalFactor
- Returns:
- The domain of the factor. This includes variables, sizes and strides.
-
getDataDomain
public Strides getDataDomain()
Description copied from interface:SeparatelySpecified
The domain of the rest of the domain. Together withSeparatelySpecified.getSeparatingDomain()
it will form the complete domain of the object.- Specified by:
getDataDomain
in interfaceIntervalFactor
- Specified by:
getDataDomain
in interfaceSeparatelySpecified<IntervalFactor>
- Returns:
-
getSeparatingDomain
public Strides getSeparatingDomain()
Description copied from interface:SeparatelySpecified
The domain of the separated part. This is usually the conditioning of the Factor. This side must not overlap with the data domain returned bySeparatelySpecified.getDataDomain()
.- Specified by:
getSeparatingDomain
in interfaceIntervalFactor
- Specified by:
getSeparatingDomain
in interfaceSeparatelySpecified<IntervalFactor>
- Returns:
-
getLinearProblem
public org.apache.commons.math3.optim.linear.LinearConstraintSet getLinearProblem(int... states)
- Specified by:
getLinearProblem
in interfaceSeparateLinearFactor<IntervalFactor>
- Returns:
-
getLinearProblemAt
public org.apache.commons.math3.optim.linear.LinearConstraintSet getLinearProblemAt(int offset)
- Specified by:
getLinearProblemAt
in interfaceSeparateLinearFactor<IntervalFactor>
- Returns:
-
-