Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultConfig = &Config{
BufSize: 100,
Threshold: 10,
}
)
Functions ¶
This section is empty.
Types ¶
type CloneDetector ¶
type CloneDetector struct {
// contains filtered or unexported fields
}
func NewCloneDetector ¶
func NewCloneDetector(config *Config) *CloneDetector
func (*CloneDetector) GetClones ¶
func (cd *CloneDetector) GetClones() ([]*ClonePair, error)
type Config ¶
type Config struct { // AddFile時のチャネルのバッファーサイズ(デフォルト:100) BufSize int // 連続トークン数の境界値(デフォルト:100) Threshold int Serializer SuffixTree }
type Serializer ¶
type SuffixTree ¶
Click to show internal directories.
Click to hide internal directories.