Package ch.idsia.crema.factor.credal
Class ConditionalFactor<F extends ConditionalFactor<F>>
- java.lang.Object
-
- ch.idsia.crema.factor.credal.ConditionalFactor<F>
-
- Type Parameters:
F
- the managed type. This is usually the type itself.
- All Implemented Interfaces:
SeparatelySpecified<F>
,FilterableFactor<F>
,GenericFactor
public abstract class ConditionalFactor<F extends ConditionalFactor<F>> extends Object implements SeparatelySpecified<F>
An abstract implementation of theSeparatelySpecified
interface.- Author:
- david
-
-
Field Summary
Fields Modifier and Type Field Description protected Strides
conditioningDomain
protected Strides
dataDomain
-
Constructor Summary
Constructors Constructor Description ConditionalFactor(Strides dataDomain, Strides conditioningDomain)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract F
copy()
Strides
getDataDomain()
The domain of the rest of the domain.Strides
getDomain()
Strides
getSeparatingDomain()
The domain of the separated part.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.idsia.crema.factor.FilterableFactor
filter, filter
-
Methods inherited from interface ch.idsia.crema.factor.GenericFactor
isLog
-
-
-
-
Method Detail
-
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 interfaceSeparatelySpecified<F extends ConditionalFactor<F>>
- 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 interfaceSeparatelySpecified<F extends ConditionalFactor<F>>
- Returns:
-
getDomain
public Strides getDomain()
- Specified by:
getDomain
in interfaceGenericFactor
- Returns:
- The domain of the factor. This includes variables, sizes and strides.
-
copy
public abstract F copy()
- Specified by:
copy
in interfaceGenericFactor
- Returns:
- a copy of the factor
-
-