DrunkardJob positiveJob = drunkardMobEngine.addJob("positive", EdgeDirection.IN_AND_OUT_EDGES,
new PositiveWalkUpdate(), new IntDrunkardCompanion(2, Runtime.getRuntime().maxMemory() / 8));
DrunkardJob negativeJob = drunkardMobEngine.addJob("negative", EdgeDirection.IN_AND_OUT_EDGES,
new NegativeWalkUpdate(), new IntDrunkardCompanion(2, Runtime.getRuntime().maxMemory() / 8));
drunkardMobEngine.setEdataConverter(new FloatConverter());
/* Create list of user vertices (i.e vertices on left). But we need to find their internal ids. */
ALSMatrixFactorization.BipartiteGraphInfo graphInfo = als.getGraphInfo();
VertexIdTranslate vertexIdTranslate = drunkardMobEngine.getVertexIdTranslate();
ArrayList<Integer> userVertices = new ArrayList<Integer>(graphInfo.getNumLeft());