Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wise-move
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wise-lab
wise-move
Merge requests
!2
Final test
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Final test
final_test
into
master
Overview
2
Commits
8
Pipelines
0
Changes
7
1 unresolved thread
Hide all comments
Merged
Jae Young Lee
requested to merge
final_test
into
master
6 years ago
Overview
2
Commits
8
Pipelines
0
Changes
7
1 unresolved thread
Hide all comments
Expand
1
0
Merge request reports
Compare
master
version 6
3d75ed5b
6 years ago
version 5
d5cda2c5
6 years ago
version 4
0c09f770
6 years ago
version 3
c45aeb30
6 years ago
version 2
8832acc8
6 years ago
version 1
228db9b4
6 years ago
master (base)
and
version 1
latest version
418be8f0
8 commits,
6 years ago
version 6
3d75ed5b
7 commits,
6 years ago
version 5
d5cda2c5
6 commits,
6 years ago
version 4
0c09f770
8 commits,
6 years ago
version 3
c45aeb30
7 commits,
6 years ago
version 2
8832acc8
6 commits,
6 years ago
version 1
228db9b4
4 commits,
6 years ago
7 files
+
111
−
44
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
env/simple_intersection/simple_intersection_env.py
+
9
−
0
Options
@@ -1213,3 +1213,12 @@ class SimpleIntersectionEnv(RoadEnv, EpisodicEnvBase):
self
.
window
=
backup_window
return
new_env
@property
def
n_others_with_higher_priority
(
self
):
n_others_with_higher_priority
=
0
for
veh
in
self
.
vehs
[
1
:]:
if
veh
.
waited_count
>
self
.
ego
.
waited_count
:
n_others_with_higher_priority
+=
1
return
n_others_with_higher_priority
Loading