FillMethod.hpp 456 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * FillMethod.hpp
  3. *
  4. * Created on: Oct 1, 2016
  5. * Author: Sina M.Baharlou
  6. * The methods for filling 1-D boolean array
  7. */
  8. #ifndef FILLMETHOD_HPP_
  9. #define FILLMETHOD_HPP_
  10. enum FillMethod
  11. {
  12. ZEROS_FILL,
  13. ONES_FILL,
  14. UNIFORM_FILL,
  15. STEP_FILL,
  16. PORTION_FILL,
  17. PORTION_EL_FILL
  18. };
  19. #define METHOD_COUNT 6
  20. #define FIRST_FILL_METHOD UNIFORM_FILL
  21. #define LAST_FILL_METHOD PORTION_EL_FILL
  22. #define UNIFORM_RATIO 0.5
  23. #endif /* FILLMETHOD_HPP_ */