1
0
forked from GitHub/gf-core

Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data.

This commit is contained in:
bjorn
2008-11-27 08:43:08 +00:00
parent 0619824fa3
commit 210089b6c8
8 changed files with 10 additions and 10 deletions

View File

@@ -11,7 +11,7 @@
-- --
-- A simple graph module. -- A simple graph module.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module GF.Speech.Graph ( Graph(..), Node, Edge, NodeInfo module GF.Data.Graph ( Graph(..), Node, Edge, NodeInfo
, newGraph, nodes, edges , newGraph, nodes, edges
, nmap, emap, newNode, newNodes, newEdge, newEdges , nmap, emap, newNode, newNodes, newEdge, newEdges
, insertEdgeWith , insertEdgeWith

View File

@@ -12,7 +12,7 @@
-- Graphviz DOT format representation and printing. -- Graphviz DOT format representation and printing.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module GF.Speech.Graphviz ( module GF.Data.Graphviz (
Graph(..), GraphType(..), Graph(..), GraphType(..),
Node(..), Edge(..), Node(..), Edge(..),
Attr, Attr,

View File

@@ -12,7 +12,7 @@
-- A simple module for relations. -- A simple module for relations.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module GF.Speech.Relation (Rel, mkRel, mkRel' module GF.Data.Relation (Rel, mkRel, mkRel'
, allRelated , isRelatedTo , allRelated , isRelatedTo
, transitiveClosure , transitiveClosure
, reflexiveClosure, reflexiveClosure_ , reflexiveClosure, reflexiveClosure_

View File

@@ -10,7 +10,7 @@ import GF.Data.Utilities
import PGF.CId import PGF.CId
import GF.Infra.Option import GF.Infra.Option
import GF.Infra.PrintClass import GF.Infra.PrintClass
import GF.Speech.Relation import GF.Data.Relation
import Control.Monad import Control.Monad
import Control.Monad.State (State, get, put, evalState) import Control.Monad.State (State, get, put, evalState)

View File

@@ -21,9 +21,9 @@ import GF.Speech.CFG
import GF.Speech.PGFToCFG import GF.Speech.PGFToCFG
import GF.Infra.Ident (Ident) import GF.Infra.Ident (Ident)
import GF.Data.Graph
import GF.Data.Relation
import GF.Speech.FiniteState import GF.Speech.FiniteState
import GF.Speech.Graph
import GF.Speech.Relation
import GF.Speech.CFG import GF.Speech.CFG
data Recursivity = RightR | LeftR | NotR data Recursivity = RightR | LeftR | NotR

View File

@@ -42,8 +42,8 @@ import Data.Set (Set)
import qualified Data.Set as Set import qualified Data.Set as Set
import GF.Data.Utilities import GF.Data.Utilities
import GF.Speech.Graph import GF.Data.Graph
import qualified GF.Speech.Graphviz as Dot import qualified GF.Data.Graphviz as Dot
type State = Int type State = Int

View File

@@ -18,7 +18,7 @@ import GF.Speech.FiniteState
import GF.Speech.CFG import GF.Speech.CFG
import GF.Speech.CFGToFA import GF.Speech.CFGToFA
import GF.Speech.PGFToCFG import GF.Speech.PGFToCFG
import qualified GF.Speech.Graphviz as Dot import qualified GF.Data.Graphviz as Dot
import PGF import PGF
import PGF.CId import PGF.CId

View File

@@ -25,7 +25,7 @@ import GF.Infra.Option
import GF.Infra.PrintClass import GF.Infra.PrintClass
import GF.Speech.CFG import GF.Speech.CFG
import GF.Speech.PGFToCFG import GF.Speech.PGFToCFG
import GF.Speech.Relation import GF.Data.Relation
import GF.Speech.FiniteState import GF.Speech.FiniteState
import GF.Speech.RegExp import GF.Speech.RegExp
import GF.Speech.CFGToFA import GF.Speech.CFGToFA