OptaPlanner core 6.0.0.CR2

org.optaplanner.core.api.domain.solution.cloner
Interface PlanningCloneable<T>


public interface PlanningCloneable<T>

Tagging interface for a Solution that implements its own planning cloning instead of letting the default or a custom SolutionCloner do it.

Planning cloning is hard: avoid doing it yourself.


Method Summary
 T planningClone()
          Does a planning clone.
 

Method Detail

planningClone

T planningClone()
Does a planning clone. A returned Solution clone must fulfill these requirements: Note that a class might support more than 1 clone method: planning clone is just one of them.

Returns:
never null, the cloned Solution

OptaPlanner core 6.0.0.CR2

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.