GraphLab: Distributed Graph-Parallel API  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
org_graphlab_Core.cpp File Reference
#include <wordexp.h>
#include "org_graphlab_Core.hpp"
#include "org_graphlab_Updater.hpp"
#include "org_graphlab_Aggregator.hpp"

Go to the source code of this file.

Functions

JNIEXPORT jlong JNICALL Java_org_graphlab_Core_createCore__ (JNIEnv *env, jobject obj)
JNIEXPORT jlong JNICALL Java_org_graphlab_Core_createCore__Ljava_lang_String_2 (JNIEnv *env, jobject obj, jstring command_line_args)
JNIEXPORT void JNICALL Java_org_graphlab_Core_destroyCore (JNIEnv *env, jobject obj, jlong ptr)
JNIEXPORT void JNICALL Java_org_graphlab_Core_resizeGraph (JNIEnv *env, jobject obj, jlong ptr, jint count)
JNIEXPORT void JNICALL Java_org_graphlab_Core_addVertex (JNIEnv *env, jobject obj, jlong ptr, jobject app_vertex, jint vertex_id)
JNIEXPORT void JNICALL Java_org_graphlab_Core_addEdge (JNIEnv *env, jobject obj, jlong ptr, jint source, jint target, jobject app_edge)
JNIEXPORT jdouble JNICALL Java_org_graphlab_Core_start (JNIEnv *env, jobject obj, jlong ptr)
JNIEXPORT jlong JNICALL Java_org_graphlab_Core_lastUpdateCount (JNIEnv *env, jobject obj, jlong ptr)
JNIEXPORT void JNICALL Java_org_graphlab_Core_addGlobalConst (JNIEnv *env, jobject obj, jlong ptr, jstring key, jobject to_store)
JNIEXPORT void JNICALL Java_org_graphlab_Core_addGlobal (JNIEnv *env, jobject obj, jlong ptr, jstring key, jobject to_store)
JNIEXPORT void JNICALL Java_org_graphlab_Core_setGlobal (JNIEnv *env, jobject obj, jlong ptr, jstring key, jobject to_store)
JNIEXPORT jobject JNICALL Java_org_graphlab_Core_getGlobal (JNIEnv *env, jobject obj, jlong ptr, jstring key)
JNIEXPORT void JNICALL Java_org_graphlab_Core_setNCpus (JNIEnv *env, jobject obj, jlong ptr, jlong ncpus)
JNIEXPORT void JNICALL Java_org_graphlab_Core_setSchedulerType (JNIEnv *env, jobject obj, jlong ptr, jstring scheduler_str)
JNIEXPORT void JNICALL Java_org_graphlab_Core_setScopeType (JNIEnv *env, jobject obj, jlong ptr, jstring scope_str)
JNIEXPORT void JNICALL Java_org_graphlab_Core_schedule (JNIEnv *env, jobject obj, jlong core_ptr, jobject updater, jint vertex_id)
JNIEXPORT void JNICALL Java_org_graphlab_Core_scheduleAll (JNIEnv *env, jobject obj, jlong core_ptr, jobject updater)
JNIEXPORT void JNICALL Java_org_graphlab_Core_addAggregator (JNIEnv *env, jobject obj, jlong core_ptr, jstring key, jobject aggregator, jlong frequency)
JNIEXPORT void JNICALL Java_org_graphlab_Core_aggregateNow (JNIEnv *env, jobject obj, jlong core_ptr, jstring key)

Detailed Description

Copyright (c) 2009 Carnegie Mellon University. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS
IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied.  See the License for the specific language
governing permissions and limitations under the License.

For more about this software visit:

 http://www.graphlab.ml.cmu.edu

Contains the JNI interface for org.graphlab.Core. In general, applications will keep their graphs in the Java layer and access the engine through the JNI. This wrapper provides a proxy graph for the engine to manipulate and forwards update calls to the Java layer. To learn how to use this interface, refer to the org.graphlab.Core class and to the examples.

Author:
Jiunn Haur Lim jiunn.nosp@m.hal@.nosp@m.cmu.e.nosp@m.du

Definition in file org_graphlab_Core.cpp.