| 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ |
| 2 | /* Generated for class dr.evomodel.treelikelihood.NativeNucleotideLikelihoodCore */ |
| 3 | /* Generated from NativeNucleotideLik%231272A6.java*/ |
| 4 | |
| 5 | #ifndef _Included_dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore |
| 6 | #define _Included_dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore |
| 7 | #include <jni.h> |
| 8 | #ifdef __cplusplus |
| 9 | extern "C" { |
| 10 | #endif |
| 11 | |
| 12 | /** |
| 13 | NativeNucleotideLikelihoodCore - An implementation of LikelihoodCore for nucleotides |
| 14 | that calls native methods for maximum speed. The native methods should be in |
| 15 | a shared library called "NucleotideLikelihoodCore" but the exact name will be system |
| 16 | dependent (i.e. "libNucleotideLikelihoodCore.so" or "NucleotideLikelihoodCore.dll"). |
| 17 | @version $Id: NucleotideLikelihoodCore.h,v 1.2 2003/10/28 16:26:31 rambaut Exp $ |
| 18 | @author Andrew Rambaut |
| 19 | */ |
| 20 | |
| 21 | /* |
| 22 | * Class: dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore |
| 23 | * Method: nativeStatesStatesPruning |
| 24 | * Signature: ([I[D[I[DII[D)V |
| 25 | */ |
| 26 | |
| 27 | /** |
| 28 | Calculates partial likelihoods at a node when both children have states. |
| 29 | */ |
| 30 | |
| 31 | JNIEXPORT void JNICALL Java_dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore_nativeStatesStatesPruning |
| 32 | (JNIEnv *, jobject, jintArray, jdoubleArray, jintArray, jdoubleArray, jint, jint, jdoubleArray); |
| 33 | |
| 34 | /* |
| 35 | * Class: dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore |
| 36 | * Method: nativeStatesPartialsPruning |
| 37 | * Signature: ([I[D[D[DII[D)V |
| 38 | */ |
| 39 | JNIEXPORT void JNICALL Java_dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore_nativeStatesPartialsPruning |
| 40 | (JNIEnv *, jobject, jintArray, jdoubleArray, jdoubleArray, jdoubleArray, jint, jint, jdoubleArray); |
| 41 | |
| 42 | /* |
| 43 | * Class: dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore |
| 44 | * Method: nativePartialsPartialsPruning |
| 45 | * Signature: ([D[D[D[DII[D)V |
| 46 | */ |
| 47 | JNIEXPORT void JNICALL Java_dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore_nativePartialsPartialsPruning |
| 48 | (JNIEnv *, jobject, jdoubleArray, jdoubleArray, jdoubleArray, jdoubleArray, jint, jint, jdoubleArray); |
| 49 | |
| 50 | /* |
| 51 | * Class: dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore |
| 52 | * Method: nativeIntegratePartials |
| 53 | * Signature: ([D[DII[D)V |
| 54 | */ |
| 55 | JNIEXPORT void JNICALL Java_dr_evomodel_treelikelihood_NativeNucleotideLikelihoodCore_nativeIntegratePartials |
| 56 | (JNIEnv *, jobject, jdoubleArray, jdoubleArray, jint, jint, jdoubleArray); |
| 57 | |
| 58 | #ifdef __cplusplus |
| 59 | } |
| 60 | #endif |
| 61 | #endif |