Click or drag to resize

WeightedOptimiser Class

The Weighted Optimiser is a Query Optimiser that orders Triple Patterns based on weighting computed calculated against.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Optimisation
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class WeightedOptimiser : BaseQueryOptimiser

The WeightedOptimiser type exposes the following members.

Constructors
  NameDescription
Public methodWeightedOptimiser
Creates a new Weighted Optimiser.
Public methodWeightedOptimiser(IGraph)
Creates a new Weighted Optimiser which reads weights from the given RDF Graph.
Public methodWeightedOptimiser(IGraph, Double, Double, Double)
Creates a new Weighted Optimiser which reads weights from the given RDF Graph.
Top
Properties
  NameDescription
Protected propertyShouldPlaceAssignments
Controls whether the Optimiser will place Assignments.
(Inherited from BaseQueryOptimiser.)
Protected propertyShouldPlaceFilters
Controls whether the Optimiser will place Filters.
(Inherited from BaseQueryOptimiser.)
Protected propertyShouldReorder
Controls whether the Optimiser will attempt to reorder Triple Patterns.
(Inherited from BaseQueryOptimiser.)
Protected propertyShouldSplitFilters
Controls whether the Optimiser will split Filters.
(Inherited from BaseQueryOptimiser.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRankingComparer
Gets the comparer used to order the Triple Patterns based on their computed weightings.
(Overrides BaseQueryOptimiserGetRankingComparer.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOptimise
Causes the Graph Pattern to be optimised if it isn't already.
(Inherited from BaseQueryOptimiser.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultObjectWeight
Default Weight for Object Terms.
Public fieldStatic memberDefaultPredicateWeight
Default Weight for Predicate Terms.
Public fieldStatic memberDefaultSubjectWeight
Default Weight for Subject Terms.
Public fieldStatic memberDefaultVariableWeight
Default Weight for Variables.
Top
See Also