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 Modifier and Type Interface Description static class
CutPlaneVisitor.PathSearchStrategy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finalizeReceiver(PathFinder.ReceiverPointInfo receiver)
No more propagation paths will be pushed for this receiver identifierCutPlaneVisitor.PathSearchStrategy
onNewCutPlane(CutProfile cutProfile)
A new vertical profile between a receiver and a source has been foundvoid
startReceiver(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
-
-
-