TBTK
Need a break? Support the development by playing Polarity Puzzles
IndexBasedHoppingAmplitudeFilter.h
1 /* Copyright 2017 Kristofer Björnson
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
23 #ifndef COM_DAFER45_TBTK_INDEX_BASED_HOPPING_AMPLITUDE_FILTER
24 #define COM_DAFER45_TBTK_INDEX_BASED_HOPPING_AMPLITUDE_FILTER
25 
28 
29 namespace TBTK{
30 
32 public:
35  const AbstractIndexFilter &indexFilter
36  );
37 
40  const IndexBasedHoppingAmplitudeFilter &indexBasedHoppingAmplitudeFilter
41  );
42 
45  IndexBasedHoppingAmplitudeFilter &&indexBasedHoppingAmplitudeFilter
46  );
47 
50 
53  const IndexBasedHoppingAmplitudeFilter &indexBasedHoppingAmplitudeFilter
54  );
55 
58  IndexBasedHoppingAmplitudeFilter &&indexBasedHoppingAmplitudeFilter
59  );
60 
62  virtual IndexBasedHoppingAmplitudeFilter* clone() const;
63 
65  virtual bool isIncluded(
66  const HoppingAmplitude &hoppingAmplitude
67  ) const;
68 private:
70  AbstractIndexFilter *indexFilter;
71 };
72 
73 }; //End of namesapce TBTK
74 
75 #endif
Definition: AbstractHoppingAmplitudeFilter.h:30
Abstract Index filter.
Abstract HoppingAmplitude filter.
virtual bool isIncluded(const HoppingAmplitude &hoppingAmplitude) const
Definition: AbstractIndexFilter.h:30
IndexBasedHoppingAmplitudeFilter & operator=(const IndexBasedHoppingAmplitudeFilter &indexBasedHoppingAmplitudeFilter)
virtual IndexBasedHoppingAmplitudeFilter * clone() const
Hopping amplitude from state 'from' to state 'to'.
Definition: HoppingAmplitude.h:53
Definition: Boolean.h:32
Definition: IndexBasedHoppingAmplitudeFilter.h:31
IndexBasedHoppingAmplitudeFilter(const AbstractIndexFilter &indexFilter)