fca-0.1.0.2: Algo for Formal Concept Analysis

Safe HaskellNone
LanguageHaskell2010

Data.Fca

Documentation

newtype Cid Source

Constructors

Cid Text 

Instances

data Concept o a Source

Constructors

Concept 

Fields

cG :: G o
 
cM :: M a
 

Instances

(Eq o, Eq a, Hashable o, Hashable a) => Eq (Concept o a) 
(CElem o, CElem a) => Ord (Concept o a) 
(Show o, Show a) => Show (Concept o a) 

data Context o a Source

Constructors

Context 

Fields

ctxG :: G o
 
ctxM :: M a
 
ctxI :: I o a
 

type Obj o = o Source

type Attr a = a Source

type Lattice = HashMap Cid Neighborhood Source

generateLattice :: (Identable (Concept o a), CElem o, CElem a) => Context o a -> (Lattice, [(Cid, Concept o a)]) Source