org.openanzo.glitter.query
Interface PredicateSelectivityProvider


public interface PredicateSelectivityProvider

A PredicateSelectivityProvider defines selectivity values for a given predicate. A higher selectivity indicates that the predicate identifies a narrower set of subjects and objects. A predicate such as rdf:type has very low selectivity, for example.

Author:
lee

Method Summary
 double getSelectivity(IRIReference predicate)
          Get the (relative) selectivity for the given predicate
 

Method Detail

getSelectivity

double getSelectivity(IRIReference predicate)
Get the (relative) selectivity for the given predicate

Parameters:
predicate - A value indicating the (relative) selectivity of the given predicate.
Returns:
the (relative) selectivity for the given predicate


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.