adjacentsampling.m calculateE.m createseed.m exception.m fitness.m mycrossover.m mydiff.m mymutation.m ongoingSample.m saveongoing.m sigmaOngoing.m superposition.m topoSort.m