Idris2Doc : Data.Graph.Indexed.Ring.Relevant.Types

Data.Graph.Indexed.Ring.Relevant.Types

(source)

Reexports

importpublic Data.Graph.Indexed
importpublic Data.Graph.Indexed.Subgraph
importpublic Data.Graph.Indexed.Query.Util

Definitions

recordPath : Nat->Type
  A shortest path of length `length` from a starting node to node `last`.
`combos` is the number of shortest paths of the same length leading
from `first` to `last`.
Node `first` is the first node after the root node, and is used to
check if two paths are disjoint.

Totality: total
Visibility: public export
Constructor: 
P : Nat->SnocList (Fink) ->Bool->Fink->Fink->Nat->Pathk

Projections:
.combos : Pathk->Nat
  Number of paths of the same length from `root` to
`last`. This is later used to compute the size of
a family of relevant cycles
.first : Pathk->Fink
  The first non-root node in the path
.keep : Pathk->Bool
  True, if all nodes in the path are smaller than the root

This flag is used for efficiency, as it allows us to avoid
computing the same cycle more than once.
.last : Pathk->Fink
  The last node in the path
.length : Pathk->Nat
  Number of nodes in the path (including the root node).
.path : Pathk->SnocList (Fink)
  The accumulated path viewed from the right

Hints:
Eq (Pathk)
Show (Pathk)
.length : Pathk->Nat
  Number of nodes in the path (including the root node).

Totality: total
Visibility: public export
length : Pathk->Nat
  Number of nodes in the path (including the root node).

Totality: total
Visibility: public export
.path : Pathk->SnocList (Fink)
  The accumulated path viewed from the right

Totality: total
Visibility: public export
path : Pathk->SnocList (Fink)
  The accumulated path viewed from the right

Totality: total
Visibility: public export
.keep : Pathk->Bool
  True, if all nodes in the path are smaller than the root

This flag is used for efficiency, as it allows us to avoid
computing the same cycle more than once.

Totality: total
Visibility: public export
keep : Pathk->Bool
  True, if all nodes in the path are smaller than the root

This flag is used for efficiency, as it allows us to avoid
computing the same cycle more than once.

Totality: total
Visibility: public export
.first : Pathk->Fink
  The first non-root node in the path

Totality: total
Visibility: public export
first : Pathk->Fink
  The first non-root node in the path

Totality: total
Visibility: public export
.last : Pathk->Fink
  The last node in the path

Totality: total
Visibility: public export
last : Pathk->Fink
  The last node in the path

Totality: total
Visibility: public export
.combos : Pathk->Nat
  Number of paths of the same length from `root` to
`last`. This is later used to compute the size of
a family of relevant cycles

Totality: total
Visibility: public export
combos : Pathk->Nat
  Number of paths of the same length from `root` to
`last`. This is later used to compute the size of
a family of relevant cycles

Totality: total
Visibility: public export
recordNCycle : Nat->Type
  A family of cycles in a graph of order `k`.

Totality: total
Visibility: public export
Constructor: 
NC : List (Fink) -> (size : Nat) ->Nat-> {auto0_ : LTE3size} ->NCyclek

Projections:
.combos : NCyclek->Nat
  Number of members in the family.
.path : NCyclek->List (Fink)
  A single representative of the cycle family.
0.prf : ({rec:0} : NCyclek) ->LTE3 (size{rec:0})
  A cycle consists of at least three nodes
.size : NCyclek->Nat
  Length of the cycle.

Hints:
Cast (NCyclek) (Cyclek)
Eq (NCyclek)
Show (NCyclek)
.path : NCyclek->List (Fink)
  A single representative of the cycle family.

Totality: total
Visibility: public export
path : NCyclek->List (Fink)
  A single representative of the cycle family.

Totality: total
Visibility: public export
.size : NCyclek->Nat
  Length of the cycle.

Totality: total
Visibility: public export
size : NCyclek->Nat
  Length of the cycle.

Totality: total
Visibility: public export
.combos : NCyclek->Nat
  Number of members in the family.

Totality: total
Visibility: public export
combos : NCyclek->Nat
  Number of members in the family.

Totality: total
Visibility: public export
0.prf : ({rec:0} : NCyclek) ->LTE3 (size{rec:0})
  A cycle consists of at least three nodes

Totality: total
Visibility: public export
0prf : ({rec:0} : NCyclek) ->LTE3 (size{rec:0})
  A cycle consists of at least three nodes

Totality: total
Visibility: public export
0Edg : Nat->Type
Totality: total
Visibility: public export
0ECycle : Nat->Type
Totality: total
Visibility: public export
recordCycle : Nat->Type
Totality: total
Visibility: public export
Constructor: 
C : NCyclek->ECyclek->SortedSet (Fink) ->SortedSet (Edgk) ->Cyclek

Projections:
.ecycle : Cyclek->ECyclek
.edgeset : Cyclek->SortedSet (Edgk)
.ncycle : Cyclek->NCyclek
.nodeset : Cyclek->SortedSet (Fink)

Hints:
Cast (NCyclek) (Cyclek)
Eq (Cyclek)
Show (Cyclek)
.ncycle : Cyclek->NCyclek
Totality: total
Visibility: public export
ncycle : Cyclek->NCyclek
Totality: total
Visibility: public export
.ecycle : Cyclek->ECyclek
Totality: total
Visibility: public export
ecycle : Cyclek->ECyclek
Totality: total
Visibility: public export
.nodeset : Cyclek->SortedSet (Fink)
Totality: total
Visibility: public export
nodeset : Cyclek->SortedSet (Fink)
Totality: total
Visibility: public export
.edgeset : Cyclek->SortedSet (Edgk)
Totality: total
Visibility: public export
edgeset : Cyclek->SortedSet (Edgk)
Totality: total
Visibility: public export
.nodes : Cyclek->List (Fink)
Totality: total
Visibility: export
ecycle : List (Fink) ->ECyclek
Totality: total
Visibility: export
sharedNodes : Cyclek->Cyclek->List (Fink)
  Returns the list of nodes two cycles have in common.

Totality: total
Visibility: export
numSharedNodes : Cyclek->Cyclek->Nat
  Returns the number of nodes shared by two cycles.

Totality: total
Visibility: export
sharedEdges : Cyclek->Cyclek->List (Edgk)
  Returns the list of edges two cycles have in common.

Totality: total
Visibility: export
numSharedEdges : Cyclek->Cyclek->Nat
  Returns the number of nodes shared by two cycles.

Totality: total
Visibility: export
isFusedTo : Cyclek->Cyclek->Bool
  True, if the two cycles share a single edge and no additional node.

Totality: total
Visibility: export
isSpiro : Cyclek->Cyclek->Bool
  True, if the two cycles share a single node.

Totality: total
Visibility: export
recordCycleSets : Nat->Type
Totality: total
Visibility: public export
Constructor: 
CS : List (Cyclek) ->List (Cyclek) ->CycleSetsk

Projections:
.cr : CycleSetsk->List (Cyclek)
.mcb : CycleSetsk->List (Cyclek)

Hints:
Eq (CycleSetsk)
Show (CycleSetsk)
.cr : CycleSetsk->List (Cyclek)
Totality: total
Visibility: public export
cr : CycleSetsk->List (Cyclek)
Totality: total
Visibility: public export
.mcb : CycleSetsk->List (Cyclek)
Totality: total
Visibility: public export
mcb : CycleSetsk->List (Cyclek)
Totality: total
Visibility: public export
dataCandidates : Nat->Type->Type
Totality: total
Visibility: public export
Constructors:
Empty : Candidateske
Isolate : SubgraphkeNat->NCyclek->Candidateske
System : (o : Nat) ->ISubgraphokeNat->List (NCycleo) ->Candidateske