returns true if configuration does not collide with itself, and is low than a probabilistically generated energy threshold.
returns true if configuration does not collide with itself, and is low than a probabilistically generated energy threshold. maxExEnergy is used as the max. energy a node can have. maxExEnergy should be > minEnergy.