From: <tho...@us...> - 2014-03-14 21:58:36
|
Revision: 7970 http://sourceforge.net/p/bigdata/code/7970 Author: thompsonbry Date: 2014-03-14 21:58:32 +0000 (Fri, 14 Mar 2014) Log Message: ----------- Removed an unused method. Modified Paths: -------------- branches/RDR/bigdata-gas/src/java/com/bigdata/rdf/graph/IGASProgram.java branches/RDR/bigdata-gas/src/java/com/bigdata/rdf/graph/impl/BaseGASProgram.java branches/RDR/bigdata-rdf/src/java/com/bigdata/rdf/graph/impl/bd/GASService.java Modified: branches/RDR/bigdata-gas/src/java/com/bigdata/rdf/graph/IGASProgram.java =================================================================== --- branches/RDR/bigdata-gas/src/java/com/bigdata/rdf/graph/IGASProgram.java 2014-03-14 21:39:12 UTC (rev 7969) +++ branches/RDR/bigdata-gas/src/java/com/bigdata/rdf/graph/IGASProgram.java 2014-03-14 21:58:32 UTC (rev 7970) @@ -53,14 +53,14 @@ */ void before(IGASContext<VS, ES, ST> ctx); - /** - * Return a default reduction that will be applied after the - * {@link IGASProgram} is executed. - * - * @return The default reduction -or- <code>null</code> if no such reduction - * is defined. - */ - <T> IReducer<VS, ES, ST, T> getDefaultAfterOp(); +// /** +// * Return a default reduction that will be applied after the +// * {@link IGASProgram} is executed. +// * +// * @return The default reduction -or- <code>null</code> if no such reduction +// * is defined. +// */ +// <T> IReducer<VS, ES, ST, T> getDefaultAfterOp(); /** * Callback to initialize the state for each vertex in the initial frontier Modified: branches/RDR/bigdata-gas/src/java/com/bigdata/rdf/graph/impl/BaseGASProgram.java =================================================================== --- branches/RDR/bigdata-gas/src/java/com/bigdata/rdf/graph/impl/BaseGASProgram.java 2014-03-14 21:39:12 UTC (rev 7969) +++ branches/RDR/bigdata-gas/src/java/com/bigdata/rdf/graph/impl/BaseGASProgram.java 2014-03-14 21:58:32 UTC (rev 7970) @@ -125,18 +125,18 @@ } - /** - * {@inheritDoc} - * <p> - * The default implementation is a NOP. - */ - @Override - public <T> IReducer<VS, ES, ST, T> getDefaultAfterOp() { +// /** +// * {@inheritDoc} +// * <p> +// * The default implementation is a NOP. +// */ +// @Override +// public <T> IReducer<VS, ES, ST, T> getDefaultAfterOp() { +// +// return null; // NOP +// +// } - return null; // NOP - - } - /** * Populate the initial frontier using all vertices in the graph. * Modified: branches/RDR/bigdata-rdf/src/java/com/bigdata/rdf/graph/impl/bd/GASService.java =================================================================== --- branches/RDR/bigdata-rdf/src/java/com/bigdata/rdf/graph/impl/bd/GASService.java 2014-03-14 21:39:12 UTC (rev 7969) +++ branches/RDR/bigdata-rdf/src/java/com/bigdata/rdf/graph/impl/bd/GASService.java 2014-03-14 21:58:32 UTC (rev 7970) @@ -721,10 +721,10 @@ } + final IGraphAccessor graphAccessor = newGraphAccessor(store); + final IGASProgram<VS, ES, ST> gasProgram = newGASProgram(gasClass); - final IGraphAccessor graphAccessor = newGraphAccessor(store); - final IGASContext<VS, ES, ST> gasContext = gasEngine.newGASContext( graphAccessor, gasProgram); @@ -882,28 +882,6 @@ this.binderList = gasProgram.getBinderList(); - // int i = 0; -// -// for (Value v : visitedSet) { -// -// int j = 0; -// if (outVar != null) { -// vals[j++] = new Constant(v); -// } -// if (stateVar != null && gasProgram instanceof BFS) { -// /* -// * FIXME Need an API for self-reporting of an IV by -// * the IGASProgram. -// */ -// final int depth = ((BFS.VS)gasState.getState(v)).depth(); -// final IV depthIV = new XSDNumericIV(depth); -// vals[j++] = new Constant(depthIV); -// } -// -// out[i++] = new ListBindingSet(vars, vals); -// -// } - } @Override This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |