A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCSimpleScoringMethod.html below:

NCBI C++ ToolKit: CSimpleScoringMethod Class Reference

Search Toolkit Book for CSimpleScoringMethod

CSimpleScoringMethod - trivial implementation of IScoringMethod. More...

#include <gui/widgets/aln_score/simple_methods.hpp>

  CSimpleScoringMethod ()   CSimpleScoringMethod. More...
    CSimpleScoringMethod (int colors)     CSimpleScoringMethod (const CSimpleScoringMethod &orig)   virtual  ~CSimpleScoringMethod ()   void  SetOptions (int options)   int  GetOptions ()   void  CreateColorTable (int size)   virtual IUIToolClone () const   virtual string  GetName () const   returns unique name of the method that is used in UI to identify it More...
  virtual string  GetDescription () const   returns a detailed description of the method that is used in UI More...
  virtual int  GetType () const   returns combination of EAlignType flags defining types of alignments that can be colored with this method More...
  virtual bool  IsAverageable () const   return "true" if scores could be averaged More...
  virtual int  GetSupportedColorTypes () const   returns a combination of EColorType flags More...
  virtual const CRgbaColorGetColorForScore (TScore score, EColorType type) const   returns a color corresponding to a given score value. More...
  virtual const CRgbaColorGetColorForNoScore (EColorType type) const   Call for display colors when CanCalculateScores returns false. More...
  virtual void  SetColorForNoScore (EColorType type, const CRgbaColor &color)   virtual void  CalculateScores (char cons, const string &column, TScore &col_score, TScoreVector &scores)   virtual bool  CanCalculateScores (const IScoringAlignment &aln)   Do we have what it takes to calculate scores? e.g. a master row selected? More...
  virtual const CMenuItemGetMenu ()   Returns a pointer to the submenu. More...
  virtual bool  HasPropertiesPanel () const   returns true if the method supports properties dialog More...
  virtual wxWindow *  CreatePropertiesPanel (wxWindow *parent)   This a factory method that shall produce a CPropertiesPanel representing properties of the method; the panel Apply() must take care of appying changes to the method. More...
    CObject (void)   Constructor. More...
    CObject (const CObject &src)   Copy constructor. More...
  virtual  ~CObject (void)   Destructor. More...
  CObjectoperator= (const CObject &src) THROWS_NONE   Assignment operator. More...
  bool  CanBeDeleted (void) const THROWS_NONE   Check if object can be deleted. More...
  bool  IsAllocatedInPool (void) const THROWS_NONE   Check if object is allocated in memory pool (not system heap) More...
  bool  Referenced (void) const THROWS_NONE   Check if object is referenced. More...
  bool  ReferencedOnlyOnce (void) const THROWS_NONE   Check if object is referenced only once. More...
  void  AddReference (void) const   Add reference to object. More...
  void  RemoveReference (void) const   Remove reference to object. More...
  void  ReleaseReference (void) const   Remove reference without deleting object. More...
  virtual void  DoNotDeleteThisObject (void)   Mark this object as not allocated in heap – do not delete this object. More...
  virtual void  DoDeleteThisObject (void)   Mark this object as allocated in heap – object can be deleted. More...
  void *  operator new (size_t size)   Define new operator for memory allocation. More...
  void *  operator new[] (size_t size)   Define new[] operator for 'array' memory allocation. More...
  void  operator delete (void *ptr)   Define delete operator for memory deallocation. More...
  void  operator delete[] (void *ptr)   Define delete[] operator for memory deallocation. More...
  void *  operator new (size_t size, void *place)   Define new operator. More...
  void  operator delete (void *ptr, void *place)   Define delete operator. More...
  void *  operator new (size_t size, CObjectMemoryPool *place)   Define new operator using memory pool. More...
  void  operator delete (void *ptr, CObjectMemoryPool *place)   Define delete operator. More...
  virtual void  DebugDump (CDebugDumpContext ddc, unsigned int depth) const   Define method for dumping debug information. More...
    CDebugDumpable (void)   virtual  ~CDebugDumpable (void)   void  DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const   void  DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const   void  DumpToConsole (void) const   virtual  ~IScoringMethod ()   virtual  ~IUITool ()    Public Member Functions inherited from IColumnScoringMethod virtual  ~IColumnScoringMethod ()   virtual bool  NeedsTranslation () const   virtual void  UpdateSettings (const IScoringAlignment &aln)   Set alignment specifi settings. More...
  virtual  ~IUIToolWithGUI ()   virtual  ~IUIToolWithGUI ()  

CSimpleScoringMethod - trivial implementation of IScoringMethod.

Scores are calculated as frequencies of symbols normalized to fit in range [0, 1]. CreateColorTable() must be called once before any GetColorForScore() calls.

Definition at line 51 of file simple_methods.hpp.

◆ EOptions ◆ CSimpleScoringMethod() [1/3] CSimpleScoringMethod::CSimpleScoringMethod ( ) ◆ CSimpleScoringMethod() [2/3] CSimpleScoringMethod::CSimpleScoringMethod ( int  colors ) ◆ CSimpleScoringMethod() [3/3] ◆ ~CSimpleScoringMethod() CSimpleScoringMethod::~CSimpleScoringMethod ( ) virtual

Definition at line 142 of file simple_methods.cpp.

◆ CalculateScores() ◆ CanCalculateScores() ◆ Clone() IUITool * CSimpleScoringMethod::Clone ( void  ) const virtual ◆ CreateColorTable() void CSimpleScoringMethod::CreateColorTable ( int  size ) ◆ CreatePropertiesPanel() wxWindow * CSimpleScoringMethod::CreatePropertiesPanel ( wxWindow *  parent ) virtual ◆ GetColorForNoScore() ◆ GetColorForScore() ◆ GetDescription() string CSimpleScoringMethod::GetDescription ( ) const virtual ◆ GetMenu()

Returns a pointer to the submenu.

If the pointer is not NULL, then this submenu is integrated into the application's menu. If method is derived from CCommandTarget it will recieve command events.

Implements IUIToolWithGUI.

Reimplemented in CSNPScoringMethod.

Definition at line 321 of file simple_methods.cpp.

References m_Menu.

◆ GetName() string CSimpleScoringMethod::GetName ( ) const virtual ◆ GetOptions() int CSimpleScoringMethod::GetOptions ( void  ) ◆ GetSupportedColorTypes() int CSimpleScoringMethod::GetSupportedColorTypes ( ) const virtual ◆ GetType() int CSimpleScoringMethod::GetType ( ) const virtual ◆ HasPropertiesPanel() bool CSimpleScoringMethod::HasPropertiesPanel ( ) const virtual ◆ IsAverageable() bool CSimpleScoringMethod::IsAverageable ( ) const virtual ◆ SetColorForNoScore() ◆ SetOptions() void CSimpleScoringMethod::SetOptions ( int  options ) ◆ x_Init() void CSimpleScoringMethod::x_Init ( int  colors ) private ◆ CSimpleScoringPanel ◆ m_Best ◆ m_ColorTable ◆ m_Gap char CSimpleScoringMethod::m_Gap protected ◆ m_Menu unique_ptr<CMenuItem> CSimpleScoringMethod::m_Menu protected ◆ m_Options int CSimpleScoringMethod::m_Options protected ◆ m_Space char CSimpleScoringMethod::m_Space protected ◆ m_vCharCounts vector<int> CSimpleScoringMethod::m_vCharCounts protected ◆ m_Worst

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4