helayers::AbstractBitwiseEvaluator Class Referenceabstract
For internal use. More...
#include <AbstractBitwiseEvaluator.h>
Public Member Functions | |
virtual std::shared_ptr< AbstractCiphertext > | getMSB (const AbstractCiphertext &c) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | getFlippedMSB (const AbstractCiphertext &c) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | hamming (const AbstractCiphertext &c, int from=0, int to=-1) const =0 |
virtual void | setIsSigned (AbstractCiphertext &c, bool val) const =0 |
virtual bool | getIsSigned (const AbstractCiphertext &c) const =0 |
virtual std::vector< std::shared_ptr< AbstractCiphertext > > | split (const AbstractCiphertext &c) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | combine (const std::vector< std::shared_ptr< AbstractCiphertext >> &cs, int from=0, int to=-1, int bitsPerElement=1) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | isEqual (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | multiply (const AbstractCiphertext &c1, const AbstractCiphertext &c2, int targetBits=-1) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | add (const AbstractCiphertext &c1, const AbstractCiphertext &c2, int targetBits=-1) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | sub (const AbstractCiphertext &c1, const AbstractCiphertext &c2, int targetBits=-1) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | multiplyBit (const AbstractCiphertext &c, const AbstractCiphertext &bit) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | bitwiseXor (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0 |
virtual int | getNumBits (const AbstractCiphertext &c) const =0 |
virtual void | setNumBits (AbstractCiphertext &c, int bits) const =0 |
virtual int | getDefaultNumBits () const =0 |
virtual void | debugPrintWithBinary (const AbstractCiphertext &c, const std::string &title, int maxElements=4, int verbose=0, std::ostream &out=std::cout) const =0 |
virtual double | getScale (const AbstractCiphertext &c) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | max (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | min (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | isGreater (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | isLess (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | isGreaterEqual (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0 |
virtual std::shared_ptr< AbstractCiphertext > | isLessEqual (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0 |
Detailed Description
For internal use.
The documentation for this class was generated from the following file:
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/impl/AbstractBitwiseEvaluator.h