Program Listing for File PoorerThanNeighborEvent.hpp

Return to documentation for file (include/dish2/events/PoorerThanNeighborEvent.hpp)

#pragma once
#ifndef DISH2_EVENTS_POORERTHANNEIGHBOREVENT_HPP_INCLUDE
#define DISH2_EVENTS_POORERTHANNEIGHBOREVENT_HPP_INCLUDE

#include "RicherThanNeighborEvent.hpp"

namespace dish2 {

struct PoorerThanNeighborEvent {

  template< typename Cardinal, size_t SeriesIdx >
  static bool Test( const Cardinal& cardinal ) {
    return !dish2::RicherThanNeighborEvent::Test<Cardinal, SeriesIdx>(
      cardinal
    );
  }

};

} // namespace dish2

#endif // #ifndef DISH2_EVENTS_POORERTHANNEIGHBOREVENT_HPP_INCLUDE