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 theSeparatelySpecifiedinterface.- Author:
- david
-
-
Field Summary
Fields Modifier and Type Field Description protected StridesconditioningDomainprotected StridesdataDomain
-
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 Fcopy()StridesgetDataDomain()The domain of the rest of the domain.StridesgetDomain()StridesgetSeparatingDomain()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:SeparatelySpecifiedThe domain of the rest of the domain. Together withSeparatelySpecified.getSeparatingDomain()it will form the complete domain of the object.- Specified by:
getDataDomainin interfaceSeparatelySpecified<F extends ConditionalFactor<F>>- Returns:
-
getSeparatingDomain
public Strides getSeparatingDomain()
Description copied from interface:SeparatelySpecifiedThe 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:
getSeparatingDomainin interfaceSeparatelySpecified<F extends ConditionalFactor<F>>- Returns:
-
getDomain
public Strides getDomain()
- Specified by:
getDomainin interfaceGenericFactor- Returns:
- The domain of the factor. This includes variables, sizes and strides.
-
copy
public abstract F copy()
- Specified by:
copyin interfaceGenericFactor- Returns:
- a copy of the factor
-
-