Class AggregatedState


  • public class AggregatedState
    extends Object
    Aggregation model for State aggregation. Only contains info useful for analysis.
    • Constructor Detail

      • AggregatedState

        public AggregatedState()
        Constructor with no args. For test purpose.
    • Method Detail

      • matchesForAggregation

        public boolean matchesForAggregation​(AggregatedState state)
        Check whether the passed-in AggregatedState and this one match for aggregation. If the two match in bssid, station and radio. Then they could be aggregated.
        Parameters:
        state - the reference AggregatedState with which to check with.
        Returns:
        boolean return true if the two matches for aggregation.
      • add

        public boolean add​(AggregatedState state)
        Add an AggregatedState to this AggregatedState. Succeed only when the two match for aggregation.
        Parameters:
        state - input AggregatedState
        Returns:
        boolean true if the two match in bssid, station, channel, channel_width and tx_power