48 lines
920 B
C++
48 lines
920 B
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGAGene 类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TGAGene 定义 基因(染色体)
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#include "StdAfx.h"
|
|
#include "TGAGene.h"
|
|
|
|
TGAGene::TGAGene()
|
|
{
|
|
|
|
}
|
|
|
|
TGAGene* TGAGene::Clone()const
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
TGAGene::~TGAGene()
|
|
{
|
|
|
|
}
|
|
|
|
bool TGAGene::operator > (const TGAGene&g) const
|
|
{
|
|
return this > &g;
|
|
}
|
|
|
|
bool TGAGene::operator < (const TGAGene&g) const
|
|
{
|
|
return this < &g;
|
|
}
|
|
|
|
bool TGAGene::operator == (const TGAGene&g) const
|
|
{
|
|
return this == &g;
|
|
}
|
|
|
|
bool TGAGene::operator != (const TGAGene&g) const
|
|
{
|
|
return this != &g;
|
|
}
|