- sbRefreshBar - Variable in class com.example.sulemaia.Fragment.AStar
-
- sbRefreshBar - Variable in class com.example.sulemaia.Fragment.FirstBest
-
- sbRefreshBar - Variable in class com.example.sulemaia.Fragment.UniformCost
-
- SearchAlgorithms - Class in com.example.sulemaia.Activity
-
Class for the appropriate selection and process of each heuristic algorithm.
- SearchAlgorithms() - Constructor for class com.example.sulemaia.Activity.SearchAlgorithms
-
- SearchAlgorithms.NavigationListener - Class in com.example.sulemaia.Activity
-
Implementation of the fragments for each heuristic algorithm.
- setAccessible(boolean) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Method to set a node as accessible or not to the character.
- setAccessible(boolean) - Method in class com.example.sulemaia.Model.PathManualTree.Node
-
Set to a node the validation that it is accessible by the character.
- setAccumulative(float) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Method to get the accumulative value of the node.
- setAdyacentFieldsAndColor(int, int) - Method in class com.example.sulemaia.Activity.GameScreen
-
We receive a coordinate and paint the adjacent fields with their corresponding color.
- setAnchor(HeuristicPathTree.Node) - Method in class com.example.sulemaia.Model.HeuristicPathTree
-
Method to set the anchor node to the heuristic tree.
- setBtnItemMap(Button) - Method in class com.example.sulemaia.Model.LandItem
-
Set a button to the land.
- setCanPass(ArrayList<Boolean>) - Method in class com.example.sulemaia.Model.CharacterItem
-
Set to a character the ability to go through a certain terrain.
- setCharacter(int) - Method in class com.example.sulemaia.Activity.CharacterSelector
-
We can logically add a new character to the list.
- setCharacter(int) - Method in interface com.example.sulemaia.Interface.iCharacterSelected
-
Set character to player, checking its valid and exists.
- setCode(int) - Method in class com.example.sulemaia.Model.GameLandItem
-
Set the code of the land.
- setColor(int) - Method in class com.example.sulemaia.Model.GameLandItem
-
Set the color to a land.
- setColor(int) - Method in class com.example.sulemaia.Model.LandItem
-
Set the color to a specific land.
- setColorsToTable() - Method in class com.example.sulemaia.Activity.MainActivity
-
We randomly set a color for each terrain (biome), and later on the user can change
it manually however he/she wants.
- setColorToField(int, int) - Method in class com.example.sulemaia.Fragment.AStar
-
Set color field to a tile once we get its code, so the color will be correct.
- setColorToField(int, int) - Method in class com.example.sulemaia.Fragment.FirstBest
-
Set color field to a tile once we get its code, so the color will be correct.
- setColorToField(int, int) - Method in class com.example.sulemaia.Fragment.UniformCost
-
Help method to color tiles, according to a specific color code.
- setColorToField(int, int) - Method in interface com.example.sulemaia.Interface.iAStar
-
Method to set color to a specific tile.
- setColorToField(int, int) - Method in interface com.example.sulemaia.Interface.iFirstTheBest
-
Method to set color to a specific tile.
- setColorToField(int, int) - Method in interface com.example.sulemaia.Interface.iUniformCost
-
Metho to set color to a specific tile.
- setCost(float) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Set the current cost to the node.
- setCost(float) - Method in class com.example.sulemaia.Model.PathManualTree.Node
-
Set a cost to a node.
- setEtItemMap(EditText) - Method in class com.example.sulemaia.Model.GameLandItem
-
Set the edit text of the land Deprecated.
- setFather(HeuristicPathTree.Node) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Set a father to a certain node.
- setFather(PathManualTree.Node) - Method in class com.example.sulemaia.Model.PathManualTree.Node
-
Set a node as a father of another certain node.
- setFieldColor(int, int, int) - Method in class com.example.sulemaia.Activity.GameScreen
-
We set the corresponding color of a specific tile (actually the one in which the
character is right now).
- setFieldColor(int, int, int) - Method in class com.example.sulemaia.Fragment.AStar
-
Whe receive coordinates and a color, to color a specific tile.
- setFieldColor(int, int, int) - Method in class com.example.sulemaia.Fragment.FirstBest
-
Whe receive coordinates and a color, to color a specific tile.
- setFieldColor(int, int, int) - Method in class com.example.sulemaia.Fragment.UniformCost
-
Set the color to a specific tile.
- setFinal(String) - Method in class com.example.sulemaia.Helper.GraphViz
-
Changes the color of the final node to red
- setFinal(boolean) - Method in class com.example.sulemaia.Model.GameLandItem
-
Set a land as final.
- setFinal(HeuristicPathTree.Node) - Method in class com.example.sulemaia.Model.HeuristicPathTree
-
Method to set the final configuration of the tree.
- setFinal(boolean) - Method in class com.example.sulemaia.Model.LandItem
-
Set a tile as final, by the user.
- setFinal(PathManualTree.Node) - Method in class com.example.sulemaia.Model.PathManualTree
-
Set a certain node as the final node for the graphical implementation.
- setFitness(HeuristicPathTree.Node, HeuristicPathTree.Node) - Method in class com.example.sulemaia.Thread.ResolverAStarThread
-
With the fitness, we either use the Euclidean or Manhattan measurement, and set the remaining
measures to the node.
- setFitness(HeuristicPathTree.Node) - Method in class com.example.sulemaia.Thread.ResolverFirstBestThread
-
With the fitness, we either use the Euclidean or Manhattan measurement, and set the remaining
measures to the node.
- setFitness(HeuristicPathTree.Node, HeuristicPathTree.Node) - Method in class com.example.sulemaia.Thread.ResolverUniformCostThread
-
Fitness method so we know which node to select each time.
- setIcon(int) - Method in class com.example.sulemaia.Model.CharacterItem
-
Set the icon to a character.
- setInitial(String) - Method in class com.example.sulemaia.Helper.GraphViz
-
Changes the color of the initial node to green
- setInitial(boolean) - Method in class com.example.sulemaia.Model.GameLandItem
-
Set a land as initial.
- setInitial(HeuristicPathTree.Node) - Method in class com.example.sulemaia.Model.HeuristicPathTree
-
Method to set the initial configuration of the tree.
- setInitial(boolean) - Method in class com.example.sulemaia.Model.LandItem
-
Set as initial a specific tile, putting the I char over it in the UI.
- setInitial(PathManualTree.Node) - Method in class com.example.sulemaia.Model.PathManualTree
-
Set a certain node as the initial node for the graphical implementation.
- setLands(ArrayList<String>) - Method in class com.example.sulemaia.Model.CharacterItem
-
Set the lands for the execution.
- setLandsColors(ArrayList<Integer>) - Method in class com.example.sulemaia.Model.CharacterItem
-
Set the land colors to the execution.
- setLandsCosts(ArrayList<Float>) - Method in class com.example.sulemaia.Model.CharacterItem
-
Set the lands costs to the actual execution.
- setLastNode(HeuristicPathTree.Node) - Method in class com.example.sulemaia.Model.HeuristicPathTree
-
Method to set the last node for the tree.
- setMainLand(String) - Method in class com.example.sulemaia.Model.CharacterItem
-
Set the main land to a character.
- setName(String) - Method in class com.example.sulemaia.Model.CharacterItem
-
Set the name of a land.
- setName(String) - Method in class com.example.sulemaia.Model.GameLandItem
-
Set the name to a land.
- setName(String) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Set the name to a node.
- setName(String) - Method in class com.example.sulemaia.Model.LandItem
-
Set the name to a specific land.
- setName(String) - Method in class com.example.sulemaia.Model.PathManualTree.Node
-
Set the name to a node.
- setPosition(Point) - Method in class com.example.sulemaia.Model.GameLandItem
-
Set the position to a land.
- setPosition(Point) - Method in class com.example.sulemaia.Model.LandItem
-
Set the position to a certain land value.
- setPosX(int) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Set the X coordinate to a node.
- setPosY(int) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Set y coordinate to a node.
- setReciclerViewForCodes() - Method in class com.example.sulemaia.Activity.MainActivity
-
To configure the layout corresponding to the recicler view in this context.
- setRemaining(float) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Set the remaining value from a certain node to the final node.
- setStep(StringBuilder) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Set the current step to the node.
- setStep(int) - Method in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
Set the current step to the node.
- setStep(int) - Method in class com.example.sulemaia.Model.PathManualTree.Node
-
Set the atual step to a certain node.
- showDialog(Activity) - Method in class com.example.sulemaia.Dialog.CustomCharacterEditorDialog
-
We instantiate and show a dialog each time the method is called.
- showDialog(Activity, CharacterItem) - Method in class com.example.sulemaia.Dialog.CustomCharacterInfoDialog
-
Initialization of each important or necessary attribute for the dialog to work,
like buttons, text views, image views, and layouts.
- showFailureMessage() - Method in class com.example.sulemaia.Fragment.AStar
-
Method to show a failure message in case the algorithm is not able to reach the final tile.
- showFailureMessage() - Method in class com.example.sulemaia.Fragment.FirstBest
-
Show failure message in case the final tile is unreachable for any reason.
- showFailureMessage() - Method in class com.example.sulemaia.Fragment.UniformCost
-
Method to show a failure message in case the algorithm is not able to reach the final tile.
- showFailureMessage() - Method in interface com.example.sulemaia.Interface.iAStar
-
Method to show a failure message if the algorithm is not able to find the last tile.
- showFailureMessage() - Method in interface com.example.sulemaia.Interface.iFirstTheBest
-
Method to show a failure message if the algorithm is not able to find the last tile.
- showFailureMessage() - Method in interface com.example.sulemaia.Interface.iUniformCost
-
Method to show a failure message if the algorithm is not able to find the last tile.
- showMapAndElements(int[][]) - Method in class com.example.sulemaia.Activity.MainActivity
-
We show the basic buttons, create the table, set the colors, and set
the recicler view.
- SimpleInputDialog - Class in com.example.sulemaia.Dialog
-
Creation of a dialog for user input.
- SimpleInputDialog(Context, String, String) - Constructor for class com.example.sulemaia.Dialog.SimpleInputDialog
-
Instantiation of the input dialog, with each variable related to a paremeter.
- SimpleOkDialog - Class in com.example.sulemaia.Dialog
-
Creation of a class to form popup dialogs in any context of activity.
- SimpleOkDialog(Context, String, String) - Constructor for class com.example.sulemaia.Dialog.SimpleOkDialog
-
We initialize each parameter needed for the dialog.
- SLOT_QUANTITY - Static variable in class com.example.sulemaia.Activity.ExpansionDetails
-
- slots - Variable in class com.example.sulemaia.Activity.ExpansionDetails
-
- spMeasureType - Variable in class com.example.sulemaia.Fragment.AStar
-
- spMeasureType - Variable in class com.example.sulemaia.Fragment.FirstBest
-
- start_graph() - Method in class com.example.sulemaia.Helper.GraphViz
-
Initialize the tree syntax
- startIntentToReadFile() - Method in class com.example.sulemaia.Activity.MainActivity
-
Intent in which we open an archive browser and ask the user what file
does he/she wants to load into the app.
- state - Variable in class com.example.sulemaia.Activity.ExpansionDetails
-
- step - Variable in class com.example.sulemaia.Model.HeuristicPathTree.Node
-
- step - Variable in class com.example.sulemaia.Model.PathManualTree.Node
-
- stopThread() - Method in class com.example.sulemaia.Fragment.AStar
-
Method called by onStop to stop thread.
- stopThread() - Method in class com.example.sulemaia.Fragment.FirstBest
-
Method called by onStop to stop thread.
- stopThread() - Method in class com.example.sulemaia.Fragment.UniformCost
-
Method called by onStop to stop the thread.
- switchViews(View, View) - Method in class com.example.sulemaia.Activity.ExpansionDetails.ButtonActions
-
Change views however the user needs, in this context.