Contents
Class OrEdgeSelector
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.graph.edgeselectors.EdgeSelector
com.hypixel.hytale.builtin.hytalegenerator.graph.edgeselectors.OrEdgeSelector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetInteractionRange(double longestConnection) Returns the read range of this selector, measured from one endpoint of the processed edge.booleanisSelected(GraphSpace graphSpace, GraphSpace.Edge edge)
-
Constructor Details
-
OrEdgeSelector
-
-
Method Details
-
isSelected
- Specified by:
isSelectedin classEdgeSelector
-
getInteractionRange
public double getInteractionRange(double longestConnection) Description copied from class:EdgeSelectorReturns the read range of this selector, measured from one endpoint of the processed edge. The range must cover the farthest graph state this selector reads, from either endpoint. The other endpoint can be up tolongestConnectionaway. Reads that touch it, or that reach beyond it, must include that distance in the returned range. If the declared range is too small, generation near region borders is nondeterministic.- Specified by:
getInteractionRangein classEdgeSelector- Parameters:
longestConnection- the longest edge length that can exist in the graph at this pass
-