Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
autumn_rrs
autumn_agent_2023
Commits
68c5b1e6
Commit
68c5b1e6
authored
1 year ago
by
k20066
Browse files
Options
Download
Email Patches
Plain Diff
modify priority
parent
ea76c045
master
center_suzuki
competition_ryosuke
develop
2 merge requests
!3
Develop
,
!1
Center suzuki
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/main/java/autumn_2023/module/complex/CentralizedControlATHumanDetector.java
+2
-1
...023/module/complex/CentralizedControlATHumanDetector.java
src/main/java/autumn_2023/module/complex/CentralizedControlFBAllocator.java
+0
-1
...mn_2023/module/complex/CentralizedControlFBAllocator.java
src/main/java/autumn_2023/module/complex/CentralizedControlFBHumanDetector.java
+2
-3
...023/module/complex/CentralizedControlFBHumanDetector.java
with
4 additions
and
5 deletions
+4
-5
src/main/java/autumn_2023/module/complex/CentralizedControlATHumanDetector.java
+
2
-
1
View file @
68c5b1e6
...
...
@@ -67,8 +67,9 @@ public class CentralizedControlATHumanDetector extends HumanDetector {
if
(!
this
.
isNeedRescueHuman
(
civ
)){
continue
;
}
StandardMessagePriority
level
=
StandardMessagePriority
.
HIGH
;
StandardMessagePriority
level
=
StandardMessagePriority
.
NORMAL
;
MessageCivilian
civ_mes
=
new
MessageCivilian
(
true
,
level
,
civ
);
messageManager
.
addMessage
(
civ_mes
,
true
);
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/autumn_2023/module/complex/CentralizedControlFBAllocator.java
+
0
-
1
View file @
68c5b1e6
...
...
@@ -151,7 +151,6 @@ public class CentralizedControlFBAllocator extends FireTargetAllocator {
this
.
fireBrigadeInfoMap
.
get
(
rowlist
.
get
(
i
)).
target
=
collist
.
get
(
allocate
[
i
]);
}
//this.printAllocate(allocate, rowlist, collist, row);
return
this
;
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/autumn_2023/module/complex/CentralizedControlFBHumanDetector.java
+
2
-
3
View file @
68c5b1e6
...
...
@@ -60,7 +60,6 @@ public class CentralizedControlFBHumanDetector extends HumanDetector {
public
HumanDetector
updateInfo
(
MessageManager
messageManager
)
{
logger
.
debug
(
"Time:"
+
agentInfo
.
getTime
());
super
.
updateInfo
(
messageManager
);
this
.
mm
=
messageManager
;
Set
<
EntityID
>
changes
=
this
.
worldInfo
.
getChanged
().
getChangedEntities
();
...
...
@@ -72,9 +71,9 @@ public class CentralizedControlFBHumanDetector extends HumanDetector {
if
(!
this
.
isNeedRescueHuman
(
civ
)){
continue
;
}
StandardMessagePriority
level
=
StandardMessagePriority
.
HIGH
;
StandardMessagePriority
level
=
StandardMessagePriority
.
NORMAL
;
MessageCivilian
civ_mes
=
new
MessageCivilian
(
true
,
level
,
civ
);
messageManager
.
addMessage
(
civ_mes
,
true
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets