-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partition by intersection #50
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ead9bf4
Use partition-by-intersection geojsonconverter branch
iyourshaw 27da7be
Convertring to partition by intersection ID
iyourshaw cb8e3c5
Punctuator cancellation
iyourshaw 1314cc6
IntersectionEventTopology: Changing BSM to intersection key
iyourshaw eaca098
Compiles
iyourshaw 341521b
Fix Script runner: Make intersectionId an int instead of string, add …
iyourshaw cae94b1
Script runner: Write ProcessedMaps and ProcessedSpats to partitions b…
iyourshaw 46230b3
Fix issues creating BSM Events and matching MAP/SPAT/BSMS in Intersec…
iyourshaw c157e14
Removing duplicate BSM events
iyourshaw 1a8012f
Filter out duplicate BSMs with same vehicle ID from different RSUs
iyourshaw de46588
logging
iyourshaw 3d52489
Clean deduplicate store
iyourshaw 36e4374
Remove old entries from Bsm dedup store to prevent indefinite growth
iyourshaw fc66f7a
Remove unused
iyourshaw fe59153
Move integration test script to Wiki
iyourshaw 3ed8eb7
Fix unit tests
iyourshaw dc84c9c
Merge branch 'develop' into partition-by-intersection
iyourshaw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 0 additions & 50 deletions
50
.../main/java/us/dot/its/jpo/conflictmonitor/monitor/models/bsm/BsmEventIntersectionKey.java
This file was deleted.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...src/main/java/us/dot/its/jpo/conflictmonitor/monitor/models/bsm/BsmIntersectionIdKey.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package us.dot.its.jpo.conflictmonitor.monitor.models.bsm; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
import us.dot.its.jpo.conflictmonitor.monitor.models.map.IntersectionRegion; | ||
import us.dot.its.jpo.geojsonconverter.partitioner.RsuIntersectionKey; | ||
|
||
@Getter | ||
@Setter | ||
@EqualsAndHashCode(callSuper = true) | ||
@ToString(callSuper = true) | ||
public class BsmIntersectionIdKey extends RsuIntersectionKey { | ||
|
||
String bsmId; | ||
|
||
public BsmIntersectionIdKey() {} | ||
|
||
public BsmIntersectionIdKey(String bsmId, String rsuId, int intersectionId) { | ||
super(rsuId, intersectionId); | ||
this.bsmId = bsmId; | ||
} | ||
|
||
public BsmIntersectionIdKey(String bsmId, String rsuId, int intersectionId, int region) { | ||
super(rsuId, intersectionId, region); | ||
this.bsmId = bsmId; | ||
} | ||
|
||
@JsonIgnore | ||
public IntersectionRegion getIntersectionRegion() { | ||
return new IntersectionRegion(getIntersectionId(), getRegion()); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Conflict Monitor has been using -1 to indicate an unknown intersectionId and Region. Do we want to be using -1 instead of null?