C# Class MingStar.SimUniversity.Game.Hashing.ZobristHashing

Inheritance: IZobristHashing
Mostra file Open project: MingStar/SimUniversity

Public Methods

Method Description
HashCurrentUniversity ( System.Color color ) : void
HashDegree ( System.Color color, DegreeType degree, int quantity ) : void
HashEdge ( System.Color color, EdgePosition ePos ) : void
HashMostInfo ( IUniversity uni, MostInfoType type ) : void
HashStartUp ( System.Color color, bool isSuccessful, int quantity ) : void
HashVertex ( System.Color color, VertexPosition vPos, CampusType type ) : void
NextNewInt64 ( ) : System.UInt64
ZobristHashing ( Game game ) : System

Method Details

HashCurrentUniversity() public method

public HashCurrentUniversity ( System.Color color ) : void
color System.Color
return void

HashDegree() public method

public HashDegree ( System.Color color, DegreeType degree, int quantity ) : void
color System.Color
degree DegreeType
quantity int
return void

HashEdge() public method

public HashEdge ( System.Color color, EdgePosition ePos ) : void
color System.Color
ePos MingStar.SimUniversity.Contract.EdgePosition
return void

HashMostInfo() public method

public HashMostInfo ( IUniversity uni, MostInfoType type ) : void
uni IUniversity
type MostInfoType
return void

HashStartUp() public method

public HashStartUp ( System.Color color, bool isSuccessful, int quantity ) : void
color System.Color
isSuccessful bool
quantity int
return void

HashVertex() public method

public HashVertex ( System.Color color, VertexPosition vPos, CampusType type ) : void
color System.Color
vPos MingStar.SimUniversity.Contract.VertexPosition
type CampusType
return void

NextNewInt64() public method

public NextNewInt64 ( ) : System.UInt64
return System.UInt64

ZobristHashing() public method

public ZobristHashing ( Game game ) : System
game Game
return System