Interface CutPlaneVisitor
- All Known Implementing Classes:
AttenuationOutputSingleThread,AttenuationVisitor,DefaultCutPlaneVisitor
public interface CutPlaneVisitor
Instead 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidfinalizeReceiver(PathFinder.ReceiverPointInfo receiver) No more propagation paths will be pushed for this receiver identifieronNewCutPlane(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 Details
-
onNewCutPlane
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
No more propagation paths will be pushed for this receiver identifier- Parameters:
receiver-
-