Using OpenMarkov as an API
If you wish to use OpenMarkov as an API, we recommend you to get acquainted with Eclipse, Maven, Mercurial, and OpenMarkov's organization. Then you should create a project in Eclipse, declare the dependencies on the necessary OpenMarkov's subprojects, and generate a jar file.
We have created a repository in bitbucket, called exampleAPI, to make your life easier. You can clone it on your computer using Mercurial and rename it. Also rename the file ExampleAPI.java and adapt it to your needs. Don't forget to update the pom.xml file, which will be used by maven to compile a jar file.
It may be useful for you to read OpenMarkov's reference documents.
If you need any help, contact us.