net-spider-0.1.0.0: A graph database middleware to maintain a time-varying graph.

MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellNone
LanguageHaskell2010

NetSpider.Query

Contents

Description

 
Synopsis

Query type

data Query n na fla sla Source #

Query for snapshot graph. You can get the default Query by defQuery function, and customize its fields by the accessor functions.

  • Type n: node ID
  • Type na: node attributes
  • Type fla: attributes of found links.
  • Type sla: attributes of snapshot links. Converted from fla by unifyLinkSamples.

defQuery Source #

Arguments

:: Eq n 
=> [n]

startsFrom field.

-> Query n na fla fla 

The default Query.

accessor functions

startsFrom :: Query n na fla sla -> [n] Source #

Nodes from which the Spider starts traversing the history graph.

unifyLinkSamples :: Query n na fla sla -> LinkSampleUnifier n na fla sla Source #

See the document of LinkSampleUnifier.

Default: unifyToOne.