Class ManualEntityMimicRecorder<Solution_>
java.lang.Object
org.optaplanner.core.impl.heuristic.selector.entity.mimic.ManualEntityMimicRecorder<Solution_>
- All Implemented Interfaces:
EntityMimicRecorder<Solution_>
public class ManualEntityMimicRecorder<Solution_>
extends Object
implements EntityMimicRecorder<Solution_>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object
protected final List<MimicReplayingEntitySelector<Solution_>>
protected final EntitySelector<Solution_>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMimicReplayingEntitySelector
(MimicReplayingEntitySelector<Solution_> replayingEntitySelector) long
getSize()
boolean
boolean
void
setRecordedEntity
(Object recordedEntity) toString()
-
Field Details
-
sourceEntitySelector
-
replayingEntitySelectorList
-
recordedEntity
-
-
Constructor Details
-
ManualEntityMimicRecorder
-
-
Method Details
-
addMimicReplayingEntitySelector
public void addMimicReplayingEntitySelector(MimicReplayingEntitySelector<Solution_> replayingEntitySelector) - Specified by:
addMimicReplayingEntitySelector
in interfaceEntityMimicRecorder<Solution_>
- Parameters:
replayingEntitySelector
- never null
-
getRecordedEntity
-
setRecordedEntity
-
getEntityDescriptor
- Specified by:
getEntityDescriptor
in interfaceEntityMimicRecorder<Solution_>
- Returns:
- As defined by
EntitySelector.getEntityDescriptor()
- See Also:
-
isCountable
public boolean isCountable()- Specified by:
isCountable
in interfaceEntityMimicRecorder<Solution_>
- Returns:
- As defined by
Selector.isCountable()
- See Also:
-
isNeverEnding
public boolean isNeverEnding()- Specified by:
isNeverEnding
in interfaceEntityMimicRecorder<Solution_>
- Returns:
- As defined by
Selector.isNeverEnding()
- See Also:
-
getSize
public long getSize()- Specified by:
getSize
in interfaceEntityMimicRecorder<Solution_>
- Returns:
- As defined by
IterableSelector.getSize()
- See Also:
-
endingIterator
- Specified by:
endingIterator
in interfaceEntityMimicRecorder<Solution_>
- Returns:
- As defined by
EntitySelector.endingIterator()
- See Also:
-
toString
-