|
Last change
on this file since 23677 was 23677, checked in by bdef, 7 years ago |
|
CHG: adding missing directories and cleaning code
|
|
File size:
535 bytes
|
| Rev | Line | |
|---|
| [23677] | 1 | from Chaco_python import Chaco_python
|
|---|
| 2 |
|
|---|
| 3 | def Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal):
|
|---|
| 4 | '''CHACO
|
|---|
| 5 |
|
|---|
| 6 | Usage:
|
|---|
| 7 | assgn = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);
|
|---|
| 8 |
|
|---|
| 9 | A: Input adjacency matrix
|
|---|
| 10 | vwgts: weights for all vertices
|
|---|
| 11 | ewgts: weights for all edges
|
|---|
| 12 | x,y,z: coordinates for inertial method
|
|---|
| 13 | options: architecture and partitioning options
|
|---|
| 14 | nparts: number of parts options
|
|---|
| 15 | goal: desired set sizes
|
|---|
| 16 | '''
|
|---|
| 17 | # Call mex module
|
|---|
| 18 | assgn = Chaco_python(A,vwgts,ewgts,x,y,z,options,nparts,goal)
|
|---|
| 19 |
|
|---|
| 20 | return assgn
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.