Skip to content
Snippets Groups Projects
Commit e60f62a5 authored by BrunoDatoMeneses's avatar BrunoDatoMeneses
Browse files

FIX: min max percept update

parent 04f8427f
No related branches found
No related tags found
2 merge requests!3Merge masters,!2Merge dev into develop
...@@ -23,8 +23,8 @@ public class Percept extends AmoebaAgent { ...@@ -23,8 +23,8 @@ public class Percept extends AmoebaAgent {
private HashSet<Context> validContextProjection = new HashSet<Context>(); private HashSet<Context> validContextProjection = new HashSet<Context>();
private HashSet<Context> neighborContextProjection = new HashSet<Context>(); private HashSet<Context> neighborContextProjection = new HashSet<Context>();
private double min = Double.MAX_VALUE; private double min = Double.POSITIVE_INFINITY;
private double max = Double.MIN_VALUE; private double max = Double.NEGATIVE_INFINITY;
private double value; private double value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment