Java Code Examples for org.apache.flink.graph.examples.data.SingleSourceShortestPathsData#RESULTED_SINGLE_SOURCE_SHORTEST_PATHS

The following examples show how to use org.apache.flink.graph.examples.data.SingleSourceShortestPathsData#RESULTED_SINGLE_SOURCE_SHORTEST_PATHS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SingleSourceShortestPathsITCase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Test
public void testSSSPExample() throws Exception {
	SingleSourceShortestPaths.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}
 
Example 2
Source File: SingleSourceShortestPathsITCase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Test
public void testGSASSSPExample() throws Exception {
	GSASingleSourceShortestPaths.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}
 
Example 3
Source File: SingleSourceShortestPathsITCase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Test
public void testPregelSSSPExample() throws Exception {
	PregelSSSP.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}
 
Example 4
Source File: SingleSourceShortestPathsITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@Test
public void testSSSPExample() throws Exception {
	SingleSourceShortestPaths.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}
 
Example 5
Source File: SingleSourceShortestPathsITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@Test
public void testGSASSSPExample() throws Exception {
	GSASingleSourceShortestPaths.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}
 
Example 6
Source File: SingleSourceShortestPathsITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@Test
public void testPregelSSSPExample() throws Exception {
	PregelSSSP.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}
 
Example 7
Source File: SingleSourceShortestPathsITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@Test
public void testSSSPExample() throws Exception {
	SingleSourceShortestPaths.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}
 
Example 8
Source File: SingleSourceShortestPathsITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@Test
public void testGSASSSPExample() throws Exception {
	GSASingleSourceShortestPaths.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}
 
Example 9
Source File: SingleSourceShortestPathsITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@Test
public void testPregelSSSPExample() throws Exception {
	PregelSSSP.main(new String[]{ SingleSourceShortestPathsData.SRC_VERTEX_ID + "",
		edgesPath, resultPath, 10 + "" });
	expected = SingleSourceShortestPathsData.RESULTED_SINGLE_SOURCE_SHORTEST_PATHS;
}