Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Bayes network simulator for Android
Mirah Ruby
branch: master

Readme

latest commit 972139d1bd
@txus authored
Failed to load latest commit information.
res Readme
src/org/txus/bayes
.gitignore Start moving a circle
AndroidManifest.xml
Rakefile Readme
Readme.md Readme
build.sh Readme

Readme.md

bayes-android

A simple Bayes network simulator for Android written in Mirah. It's a work in progress AND I'm an Android noob, so don't expect anything usable just yet! :P

Building

You'll need the development version of Pindah to build this. Get it like this:

rvm use jruby-head
gem install mirah

git clone git://github.com/mirah/pindah.git
cd pindah && gem build pindah.gemspec && gem install pindah-0.1.3.dev.gem

Now for the actual app:

git clone git://github.com/txus/bayes-android
cd bayes-android
rake debug

Now to install and run your app in either the simulator or a real device, type:

adb install bin/bayes-debug.apk && adb logcat

To make the whole cycle more agile, I've set up a build.sh that cleans the build, uninstalls the app from the device, builds it again, installs it, and starts logging. Useful while developing:

./build.sh

Who's this

This was made by Josep M. Bach (Txus) under the MIT license. I'm @txustice on twitter (where you should probably follow me!).

Something went wrong with that request. Please try again.