Click or drag to resize

ClusterServiceCluster Method (Int32, String, PelletClusterServiceCallback, Object)

Gets a list of lists expressing clusters within the Knowledge Base.

Namespace:  VDS.RDF.Query.Inference.Pellet.Services
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void Cluster(
	int number,
	string type,
	PelletClusterServiceCallback callback,
	Object state
)

Parameters

number
Type: SystemInt32
Number of Clusters.
type
Type: SystemString
QName of a Type to cluster around.
callback
Type: VDS.RDF.Query.Inference.PelletPelletClusterServiceCallback
Callback to be invoked when the operation completes.
state
Type: SystemObject
State to be passed to the callback.
Remarks
If the operation succeeds the callback will be invoked normally, if there is an error the callback will be invoked with a instance of AsyncError passed as the state which provides access to the error message and the original state passed in.
See Also