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

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

NetSpider.Found

Description

 
Synopsis

Documentation

data FoundNode n na la Source #

FoundNode is a node (the subject node) observed at a specific time. It has a set of neighbor links found at the moment.

  • type n: node ID.
  • type na: node attributes.
  • type la: link attributes.

Constructors

FoundNode 
Instances
Bifunctor (FoundNode n) Source #

Since: 0.3.0.0

Instance details

Defined in NetSpider.Found

Methods

bimap :: (a -> b) -> (c -> d) -> FoundNode n a c -> FoundNode n b d #

first :: (a -> b) -> FoundNode n a c -> FoundNode n b c #

second :: (b -> c) -> FoundNode n a b -> FoundNode n a c #

Functor (FoundNode n na) Source #

Since: 0.3.0.0

Instance details

Defined in NetSpider.Found

Methods

fmap :: (a -> b) -> FoundNode n na a -> FoundNode n na b #

(<$) :: a -> FoundNode n na b -> FoundNode n na a #

(Eq n, Eq la, Eq na) => Eq (FoundNode n na la) Source # 
Instance details

Defined in NetSpider.Found

Methods

(==) :: FoundNode n na la -> FoundNode n na la -> Bool #

(/=) :: FoundNode n na la -> FoundNode n na la -> Bool #

(Show n, Show la, Show na) => Show (FoundNode n na la) Source # 
Instance details

Defined in NetSpider.Found

Methods

showsPrec :: Int -> FoundNode n na la -> ShowS #

show :: FoundNode n na la -> String #

showList :: [FoundNode n na la] -> ShowS #

data FoundLink n la Source #

A link found at a FoundNode. The link connects from the subject node (the found node) to the target node. The link may be directional or non-directional.

  • type n: node ID.
  • type la: link attributes.

Constructors

FoundLink 

data LinkState Source #

State of the found link.

Constructors

LinkUnused

Link is possible, but not used.

LinkToTarget

Link is directional. It's from subject to target.

LinkToSubject

Link is directional. It's from target to subject.

LinkBidirectional

Link is bidirectional.