added type-definitions for better distinction
This commit is contained in:
parent
6e1421018c
commit
5d66fb1310
BIN
dist/build/hgraph/hgraph
vendored
BIN
dist/build/hgraph/hgraph
vendored
Binary file not shown.
BIN
dist/build/hgraph/hgraph-tmp/Main.hi
vendored
BIN
dist/build/hgraph/hgraph-tmp/Main.hi
vendored
Binary file not shown.
BIN
dist/build/test-hgraph/test-hgraph
vendored
BIN
dist/build/test-hgraph/test-hgraph
vendored
Binary file not shown.
BIN
dist/build/test-hgraph/test-hgraph-tmp/Main.hi
vendored
BIN
dist/build/test-hgraph/test-hgraph-tmp/Main.hi
vendored
Binary file not shown.
@ -42,8 +42,11 @@ type Matrix e = A.Array A.DIM2 e
|
|||||||
|
|
||||||
type Attr = Matrix A.Int8
|
type Attr = Matrix A.Int8
|
||||||
-- Graph consists of a Vector denoting which colums of the matrix represents wich originating
|
-- Graph consists of a Vector denoting which colums of the matrix represents wich originating
|
||||||
-- column in the global adjencency-matrix
|
-- column in the global adjencency-matrix, the reduces adjencency-matrix of the graph, a
|
||||||
type Graph = (A.Vector A.Int8, Matrix A.Int8)
|
-- matrix of constraints and a scalar denoting the density
|
||||||
|
newtype Constraints = Matrix A.Float
|
||||||
|
type Density = A.Scalar A.Float
|
||||||
|
type Graph = (A.Vector A.Int8, Matrix A.Int8, Constraints, Density)
|
||||||
-- Adjecency-Matrix
|
-- Adjecency-Matrix
|
||||||
type Adj = Matrix A.Int8
|
type Adj = Matrix A.Int8
|
||||||
-- Vector of the Adjecency-Matrix
|
-- Vector of the Adjecency-Matrix
|
||||||
|
Loading…
Reference in New Issue
Block a user