question: @ Override public Assignment sample ( ) { if ( ! samples . isEmpty ( ) ) { int selection = sampler . nextInt ( samples . size ( ) ) ; Assignment selected = samples . get ( selection ) ; return selected ; } else { log . warning ( "distribution has no samples" ) ; return new Assignment ( ) ; } }
target:  Samples from the distribution. In this case, simply selects one arbitrary sample out of the set defining the distribution