KaHIP Python Wrapper
Project description
Installation
pip install kahipwrapper
Usage
from kahipwrapper import kaHIP
vwgt = None
xadj = [0,2,5,7,9,12]
adjcwgt = [1,1,1,1,1,1,1,1,1,1,1,1]
adjncy = [1,4,0,2,4,1,3,2,4,0,1,3]
nparts = 2
imbalance = 0.03
suppress_output = False
mode = kaHIP.STRONG
seed = 0
ncount = len(xadj) - 1
nparts = 2
print(ncount)
print(kaHIP.kaffpa_balance_NE(ncount, vwgt, xadj, adjcwgt, adjncy,
nparts, imbalance, suppress_output,
seed, mode))
print(kaHIP.kaffpa(ncount, vwgt, xadj, adjcwgt, adjncy, nparts,
imbalance, suppress_output, seed, mode))
print(kaHIP.node_separator(ncount, vwgt, xadj, adjcwgt, adjncy, nparts,
imbalance, suppress_output, seed, mode))
For more information, please visit KaHIP site here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kahipwrapper-0.1.7-cp36-cp36m-manylinux1_x86_64.whl.
File metadata
- Download URL: kahipwrapper-0.1.7-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 595.8 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87a3af51781b59c0205cbe505b7e81219675e99df764a56dc427b59e54f83338
|
|
| MD5 |
da0442f8a273813b0c345f49ccf8982c
|
|
| BLAKE2b-256 |
3b62d6530527e15961b569425312dceb834f529c26a47eb5b3f192ec212cae5c
|
File details
Details for the file kahipwrapper-0.1.7-cp35-cp35m-manylinux1_x86_64.whl.
File metadata
- Download URL: kahipwrapper-0.1.7-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 595.8 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b8eb66ad5a580f174ca1ec081956b2346ddd3d81a9cb0ab7590a6e927bc9910
|
|
| MD5 |
d32dd2b7a098b7368f597d5847cb32b8
|
|
| BLAKE2b-256 |
dbe497c0d91c924e8ca858cb5b5e4335a4761f83a6a4931b4d5a19c49f2f331b
|
File details
Details for the file kahipwrapper-0.1.7-cp34-cp34m-manylinux1_x86_64.whl.
File metadata
- Download URL: kahipwrapper-0.1.7-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 595.7 kB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f352c3e4cd079897036554ba14f55ce7def1942784ee6b2483a01f0439c07c21
|
|
| MD5 |
4076aabfcb09a8959281ef95f9cd56c7
|
|
| BLAKE2b-256 |
c6f352c31ef7100b6fa06e6e1739c38bbd3b39c01cb5f8c79bf25938c8cdd7a0
|
File details
Details for the file kahipwrapper-0.1.7-cp33-cp33m-manylinux1_x86_64.whl.
File metadata
- Download URL: kahipwrapper-0.1.7-cp33-cp33m-manylinux1_x86_64.whl
- Upload date:
- Size: 595.1 kB
- Tags: CPython 3.3m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c3498c003658d00e6d27b53c0081650e342fb74f5ecff0867451ef5fa8858d3
|
|
| MD5 |
4ccaf1834723377b5496c41aca37c374
|
|
| BLAKE2b-256 |
3a122f7740dfa1fe8dc3c619f6059e9b4ed3361b25e60d77e0505b5610607804
|
File details
Details for the file kahipwrapper-0.1.7-cp27-cp27mu-manylinux1_x86_64.whl.
File metadata
- Download URL: kahipwrapper-0.1.7-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 596.8 kB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eb02b1f60878fb9d14d59215c38f4ff810dc0e10beff57da97d1164f43dde0e
|
|
| MD5 |
b3e2530638f18aea050f8d7f2043ec61
|
|
| BLAKE2b-256 |
37e82b984e0a2f27955440ca0dbf2ad885afd74c3f2b44d10a8d93aff34388d0
|
File details
Details for the file kahipwrapper-0.1.7-cp27-cp27m-manylinux1_x86_64.whl.
File metadata
- Download URL: kahipwrapper-0.1.7-cp27-cp27m-manylinux1_x86_64.whl
- Upload date:
- Size: 596.8 kB
- Tags: CPython 2.7m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d22a01ae6bc696c02ee0b92dc086b44db086e25a27a87ef9e327f2d90fb52f7
|
|
| MD5 |
1792d412a077a31d30f057eaadeaae2c
|
|
| BLAKE2b-256 |
14ea62d7bcd921d842e6b192bc27ea55800878a182f4f8aba5e6ed5275a1007a
|
File details
Details for the file kahipwrapper-0.1.7-cp26-cp26mu-manylinux1_x86_64.whl.
File metadata
- Download URL: kahipwrapper-0.1.7-cp26-cp26mu-manylinux1_x86_64.whl
- Upload date:
- Size: 556.6 kB
- Tags: CPython 2.6mu
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c78a83b3c167c2fca6648b7d54f4696a89f03590944107ac2f4570d577140e2e
|
|
| MD5 |
555c75fda96aa9f841971e0853fa39c1
|
|
| BLAKE2b-256 |
9707d2c97403d14109d4413a0d1ae32a7fdd21985b1ca4fa58e6db685bd66b54
|
File details
Details for the file kahipwrapper-0.1.7-cp26-cp26m-manylinux1_x86_64.whl.
File metadata
- Download URL: kahipwrapper-0.1.7-cp26-cp26m-manylinux1_x86_64.whl
- Upload date:
- Size: 556.6 kB
- Tags: CPython 2.6m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a363c7729f5aac802204534df108d4d892ddc58f0156558bd9b7ba1c2a2f4fd9
|
|
| MD5 |
86a9cca02d7a3782bb66f3b551db3044
|
|
| BLAKE2b-256 |
efe07c14bf9af6679dfbaa52b368287990d9213b20619da3c5d9e4fbd645e5b5
|