Skip to content

vy/jpatoh

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
lib
 
 
 
 
 
 
 
 
     (                    )
     )\ )      *   )   ( /(
  ( (()/(   )` )  /(   )\())
  )\ /(_)) /( ( )(_)) ((_)\
 ((_)_)) )(_))_(_()))\ _((_)
   !| _ ((_)_|_   _((_) || |
   ||  _/ _` | | |/ _ \ __ |
 _/ |_| \__,_| |_|\___/_||_|
|__/

jPaToH supplies Java bindings for PaToH, Partitioning Tools for Hypergraph. To be able to compile the package you will need a recent JDK that is compatible with JNA. Steps to follow are presented below.

  1. Issue ant jar command to build the jpatoh.jar file.

     ~$ cd jpatoh
     ~/jpatoh$ ant jar
    
  2. 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/file
    
  3. 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.

About

Java bindings for PaToH (Partitioning Tools for Hypergraph by Ümit V. Çatalyürek).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages