File tree Expand file tree Collapse file tree
tasks/bruskova_v_char_frequency/mpi/include Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#pragma once
2-
32#include < string>
43#include < vector>
5-
64#include " bruskova_v_char_frequency/common/include/common.hpp"
75#include " core/include/task.hpp"
8-
96namespace bruskova_v_char_frequency {
10-
117class BruskovaVCharFrequencyMPI : public ppc ::core::Task<InType, OutType> {
128 public:
139 explicit BruskovaVCharFrequencyMPI (const InType &in) : ppc::core::Task<InType, OutType>(in) {}
1410 explicit BruskovaVCharFrequencyMPI (const ppc::core::TaskData &data) : ppc::core::Task<InType, OutType>(data) {}
15-
1611 bool PreProcessingImpl () override ;
1712 bool ValidationImpl () override ;
1813 bool RunImpl () override ;
1914 bool PostProcessingImpl () override ;
20-
2115 ppc::core::TaskType GetTaskType () const override { return ppc::core::TaskType::TASK ; }
22-
2316 private:
2417 std::string input_str_;
2518 char target_char_;
2619 int result_count_ = 0 ;
2720};
28-
29- } // namespace bruskova_v_char_frequency
21+ } // namespace bruskova_v_char_frequency
You can’t perform that action at this time.
0 commit comments