UNPKG
graphinius
Version:
latest (2.0.2)
2.0.2
2.0.1
2.0.0
1.0.0
0.9.53
0.9.52
0.9.51
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.3
0.9.1
0.9.0
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.0
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.2
0.6.1
0.6.0
0.5.9
0.5.7
0.5.6
0.5.5
0.5.3
0.5.2
0.5.1
0.5.0
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.2.5
0.2.3
0.2.2
0.2.1
0.2.0
0.1.5
0.0.4
0.0.2
0.0.1
Generic graph library in Typescript
github.com/cassinius/graphinius
cassinius/graphinius
graphinius
/
lib
/
partitioning
/
Interfaces.ts
12 lines
(9 loc)
•
257 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
IBaseNode
}
from
'../core/base/BaseNode'
;
export
interface
GraphPartitioning
{ partitions :
Map
<
number
,
Partition
> nodePartMap :
Map
<
string
,
number
>; cut_cost :
number
; }
export
interface
Partition
{ nodes :
Map
<
string
,
IBaseNode
>; }