@Override public boolean beforeSampling(Sampler<?,?,?> sampler,SampledVertexDecorator<?> vertex){
  if (sampler.getIteration() > lastIteration) {
    File file=makeDirectories(String.format("%1$s/it.%2$s",getRootDirectory(),lastIteration));
    analyze(sampler.getSampledGraph(),file.getAbsolutePath());
    lastIteration=sampler.getIteration();
  }
  return true;
}

@ Override public boolean beforeSampling ( Sampler < ? , ? , ? > sampler , SampledVertexDecorator < ? > vertex ) { if ( sampler . getIteration ( ) > lastIteration ) { File file = makeDirectories ( String . format ( "%1$s/it.%2$s" , getRootDirectory ( ) , lastIteration ) ) ; analyze ( sampler . getSampledGraph ( ) , file . getAbsolutePath ( ) ) ; lastIteration = sampler . getIteration ( ) ; } return true ; }
analysis the sampled graph after a snowball iteration has been completed .
