Interface CutPlaneVisitor
-
- All Known Implementing Classes:
AttenuationOutputSingleThread,AttenuationVisitor,DefaultCutPlaneVisitor
public interface CutPlaneVisitorInstead of feeding a list and returning all vertical cut planes. A visitor instance that implement this interface can skip planes and intervene in the search of cut planes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCutPlaneVisitor.PathSearchStrategy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfinalizeReceiver(PathFinder.ReceiverPointInfo receiver)No more propagation paths will be pushed for this receiver identifierCutPlaneVisitor.PathSearchStrategyonNewCutPlane(CutProfile cutProfile)A new vertical profile between a receiver and a source has been foundvoidstartReceiver(PathFinder.ReceiverPointInfo receiver, Collection<PathFinder.SourcePointInfo> sourceList, AtomicInteger cutProfileCount)Called before looking for vertical cut planes between the receiver and the sources.
-
-
-
Method Detail
-
onNewCutPlane
CutPlaneVisitor.PathSearchStrategy onNewCutPlane(CutProfile cutProfile)
A new vertical profile between a receiver and a source has been found- Parameters:
cutProfile- vertical profile- Returns:
- Will skip or not the next processing depending on this value.
-
startReceiver
void startReceiver(PathFinder.ReceiverPointInfo receiver, Collection<PathFinder.SourcePointInfo> sourceList, AtomicInteger cutProfileCount)
Called before looking for vertical cut planes between the receiver and the sources.- Parameters:
receiver- Receiver informationsourceList- All sources in the range of this receiver sorted by the distance from the receivercutProfileCount-
-
finalizeReceiver
void finalizeReceiver(PathFinder.ReceiverPointInfo receiver)
No more propagation paths will be pushed for this receiver identifier- Parameters:
receiver-
-
-