InterDimensionalVariationGraph
class InterDimensionalVariationGraph (View source)
The inter dimensional variation graph domain model Represents the specialization and generalization mechanism between dimension space points
Properties
protected WeightedDimensionSpacePoint>|null | $weightedDimensionSpacePoints | Weighed dimension space points, indexed by identity (DSP) hash |
|
protected DimensionSpacePointSet>|null | $indexedGeneralizations | Generalization dimension space point sets, indexed by specialization hash |
|
protected DimensionSpacePointSet>|null | $indexedSpecializations | Specialization dimension space point sets, indexed by generalization hash |
|
protected DimensionSpacePoint>>|null | $weightedGeneralizations | Weighed generalizations, indexed by specialization hash and relative weight |
|
protected DimensionSpacePoint>>>|null | $weightedSpecializations | Weighed specializations, indexed by generalization hash, relative weight and specialization hash |
|
protected DimensionSpacePoint> | $primaryGeneralizations | Primary generalization dimension space points, indexed by specialization hash |
|
protected | $weightNormalizationBase |
Methods
No description
No description
No description
No description
No description
Returns the root generalizations indexed by hash
No description
No description
No description
Returns specializations of a dimension space point
Returns generalizations of a dimension space point
Returns specializations of a dimension space point indexed by relative weight and specialization hash
Returns generalizations of a dimension space point indexed by relative weight
No description
Details
__construct(ContentDimensionSourceInterface $contentDimensionSource, ContentDimensionZookeeper $contentDimensionZookeeper)
No description
protected void
initializeWeightedDimensionSpacePoints()
No description
DimensionSpacePointSet
getDimensionSpacePoints()
No description
array
getWeightedDimensionSpacePoints()
No description
WeightedDimensionSpacePoint|null
getWeightedDimensionSpacePointByDimensionSpacePoint(DimensionSpacePoint $point)
No description
WeightedDimensionSpacePoint|null
getWeightedDimensionSpacePointByHash(string $hash)
No description
array
getRootGeneralizations()
Returns the root generalizations indexed by hash
protected int
determineWeightNormalizationBase()
No description
protected void
initializeVariations()
No description
protected void
initializeVariationsForDimensionSpacePointPair(WeightedDimensionSpacePoint $specialization, WeightedDimensionSpacePoint $generalization, array $normalizedVariationWeights, array $indexedGeneralizations, array $indexedSpecializations)
No description
DimensionSpacePointSet
getIndexedSpecializations(DimensionSpacePoint $generalization)
Returns specializations of a dimension space point
DimensionSpacePointSet
getIndexedGeneralizations(DimensionSpacePoint $specialization)
Returns generalizations of a dimension space point
array
getWeightedSpecializations(DimensionSpacePoint $generalization)
Returns specializations of a dimension space point indexed by relative weight and specialization hash
array
getWeightedGeneralizations(DimensionSpacePoint $specialization)
Returns generalizations of a dimension space point indexed by relative weight
DimensionSpacePointSet
getSpecializationSet(DimensionSpacePoint $origin, bool $includeOrigin = true, DimensionSpacePointSet $excludedSet = null)
No description
DimensionSpacePoint|null
getPrimaryGeneralization(DimensionSpacePoint $specialization)
No description
VariantType
getVariantType(DimensionSpacePoint $subject, DimensionSpacePoint $object)
No description