Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vy/jpatoh
Java bindings for PaToH (Partitioning Tools for Hypergraph by Ümit V. Çatalyürek).
https://github.com/vy/jpatoh
Last synced: 28 days ago
JSON representation
Java bindings for PaToH (Partitioning Tools for Hypergraph by Ümit V. Çatalyürek).
- Host: GitHub
- URL: https://github.com/vy/jpatoh
- Owner: vy
- License: bsd-2-clause
- Created: 2010-01-28T08:29:17.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2013-04-14T15:13:34.000Z (over 11 years ago)
- Last Synced: 2024-10-03T13:18:37.482Z (about 1 month ago)
- Language: Java
- Homepage:
- Size: 1020 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
( )
)\ ) * ) ( /(
( (()/( )` ) /( )\())
)\ /(_)) /( ( )(_)) ((_)\
((_)_)) )(_))_(_()))\ _((_)
!| _ ((_)_|_ _((_) || |
|| _/ _` | | |/ _ \ __ |
_/ |_| \__,_| |_|\___/_||_|
|__/jPaToH supplies Java bindings for [PaToH, Partitioning Tools for Hypergraph](http://bmi.osu.edu/~umit/software.html). To be able to compile the package you will need a recent JDK that is compatible with [JNA](https://jna.dev.java.net/). Steps to follow are presented below.
1. Issue `ant jar` command to build the `jpatoh.jar` file.
~$ cd jpatoh
~/jpatoh$ ant jar2. Run below command to see if everything works properly.
~/jpatoh$ LD_LIBRARY_PATH=/path/to/libpatoh.so \
java \
-cp build/jar/jpatoh.jar:lib/jna.jar \
tr.edu.bilkent.cs.patoh.examples.Test \
/patoh/to/some/patoh/hypergraph/file3. Now you're wondering the magic, don't you? See `Test.java` under `src/tr/edu/bilkent/cs/patoh/examples` directory. (To see the full list of exported functions, consult to the javadoc specification of `HyperGraph` class in `doc` directory.)
Comments, bug reports, etc. are welcome.