C# 클래스 Cream.LocalSearch

A super class of local search solvers, and also an implementation of a random walk solver. Local search is an iterative procedure. It first finds an initial soluttion, and iteratively make a small change
상속: Solver
파일 보기 프로젝트 열기: kikoanis/CSharpCream 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
iterTimeout long

보호된 프로퍼티들

프로퍼티 타입 설명
iteration int
solver DefaultSolver

공개 메소드들

메소드 설명
LocalSearch ( Cream.Network network ) : System

Constructs a random-walk solver for the given network. This constructor is equivalent to LocalSearch(network, Default, null).

LocalSearch ( Cream.Network network, String name ) : System

Constructs a random-walk solver for the given network and name. This constructor is equivalent to LocalSearch(network, Default, name).

LocalSearch ( Cream.Network network, int option ) : System

Constructs a random-walk solver for the given network and option. This constructor is equivalent to LocalSearch(network, option, null).

LocalSearch ( Cream.Network network, int option, String name ) : System

Constructs a random-walk solver for the given network, option, and name.

Run ( ) : void
Stop ( ) : void

보호된 메소드들

메소드 설명
EndSearch ( ) : void
GetCandidate ( ) : Solution
NextSearch ( ) : void
StartSearch ( ) : void

메소드 상세

EndSearch() 보호된 메소드

protected EndSearch ( ) : void
리턴 void

GetCandidate() 보호된 메소드

protected GetCandidate ( ) : Solution
리턴 Solution

LocalSearch() 공개 메소드

Constructs a random-walk solver for the given network. This constructor is equivalent to LocalSearch(network, Default, null).
public LocalSearch ( Cream.Network network ) : System
network Cream.Network the constraint network ///
리턴 System

LocalSearch() 공개 메소드

Constructs a random-walk solver for the given network and name. This constructor is equivalent to LocalSearch(network, Default, name).
public LocalSearch ( Cream.Network network, String name ) : System
network Cream.Network the constraint network ///
name String the name of the solver ///
리턴 System

LocalSearch() 공개 메소드

Constructs a random-walk solver for the given network and option. This constructor is equivalent to LocalSearch(network, option, null).
public LocalSearch ( Cream.Network network, int option ) : System
network Cream.Network the constraint network ///
option int the option for search strategy ///
리턴 System

LocalSearch() 공개 메소드

Constructs a random-walk solver for the given network, option, and name.
public LocalSearch ( Cream.Network network, int option, String name ) : System
network Cream.Network the constraint network ///
option int the option for search strategy, or Default for default search strategy ///
name String the name of the solver, or null for a default name ///
리턴 System

NextSearch() 보호된 메소드

protected NextSearch ( ) : void
리턴 void

Run() 공개 메소드

public Run ( ) : void
리턴 void

StartSearch() 보호된 메소드

protected StartSearch ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

프로퍼티 상세

iterTimeout 공개적으로 프로퍼티

public long iterTimeout
리턴 long

iteration 보호되어 있는 프로퍼티

protected int iteration
리턴 int

solver 보호되어 있는 프로퍼티

protected DefaultSolver,Cream solver
리턴 DefaultSolver