implements getters for random nodes/edges
implements random batch generators
implements edge weight update
removes obsolete todo comments