Commit 71ff61a4 authored by Bernhard Rumpe's avatar Bernhard Rumpe
Browse files

BR-sy

parent fd95ebfe
Pipeline #175162 passed with stage
in 8 minutes and 38 seconds
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS;
component StartLeft{
......@@ -13,4 +14,4 @@ component StartLeft{
startY = round(pacManY);
startD = 2;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS;
component StartRight{
......@@ -13,4 +14,4 @@ component StartRight{
startY = round(pacManY);
startD = 3;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS;
component StartTop{
......@@ -13,4 +14,4 @@ component StartTop{
startY = round(pacManY - 0.51);
startD = 0;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS;
component StartValues{
......@@ -10,4 +11,4 @@ component StartValues{
startSafe = 1;
startSafeFound = 0;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS;
stream TestSingle1 for BFSSingle {
......@@ -18,4 +19,4 @@ stream TestSingle1 for BFSSingle {
newY: 1.2 tick 1.2;
safeFound: 0 tick 0;
safe: 1 tick 0;
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.single;
component CalcNewPosition {
......@@ -55,4 +56,4 @@ component CalcNewPosition {
end
end
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.single;
component ControlFlow {
......@@ -39,4 +40,4 @@ component ControlFlow {
newDirection = newDirectionFromNewPosition;
end
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.single;
component ReenterMap {
......@@ -25,4 +26,4 @@ component ReenterMap {
newOldX = 1;
end
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.single;
component SafePosition {
......@@ -24,4 +25,4 @@ component SafePosition {
end
end
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.single;
component SearchFinished {
......@@ -28,4 +29,4 @@ component SearchFinished {
finished = 1;
end
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.start;
component StartBottom{
......@@ -13,4 +14,4 @@ component StartBottom{
startY = round(pacManY + 0.51);
startD = 1;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.start;
component StartLeft{
......@@ -13,4 +14,4 @@ component StartLeft{
startY = round(pacManY);
startD = 2;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.start;
component StartRight{
......@@ -13,4 +14,4 @@ component StartRight{
startY = round(pacManY);
startD = 3;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.start;
component StartTop{
......@@ -13,4 +14,4 @@ component StartTop{
startY = round(pacManY - 0.51);
startD = 0;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.BFS.start;
component StartValues{
......@@ -9,4 +10,4 @@ component StartValues{
startSafe = 1;
startSafeFound = 0;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2;
import de.rwth.pacman.heithoff2.BFS.Paths;
......@@ -49,4 +50,4 @@ component Controller {
connect decision.newPacManDirection -> newPacManDirection;
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2;
component NormalizePosition {
......@@ -19,4 +20,4 @@ component NormalizePosition {
newGhostY(i) = ghostY(i) + 1;
end
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.coneSearch;
// a simple add
......@@ -14,4 +15,4 @@ component CombineValues {
value = valueCoins + valueEnemies;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.coneSearch;
import de.rwth.pacman.heithoff2.coneSearch.coinSearch.*;
......@@ -73,4 +74,4 @@ component ConeSearches {
connect combine2.value -> bottomValue;
connect combine3.value -> leftValue;
connect combine4.value -> rightValue;
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.pacman.heithoff2.coneSearch;
// enhance the buiscuit and coin value if they are too far away
......@@ -23,4 +24,4 @@ component EnhanceCoinValue {
valueOut(index) = 100;
end
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment