C# 클래스 BooRunner.Tools.ClassicParser

Classic parsing algorithm using multiplication (O[n^2]).
상속: ParserBase
파일 보기 프로젝트 열기: juanplopes/euler 1 사용 예제들

공개 메소드들

메소드 설명
ClassicParser ( IParser pow2Parser ) : System.Collections.Generic

Creates new ClassicParser instance.

Parse ( string value, int startIndex, int endIndex, uint numberBase, uint>.IDictionary charToDigits, uint digitsRes ) : uint

Parses provided string representation of BigInteger object.

메소드 상세

ClassicParser() 공개 메소드

Creates new ClassicParser instance.
public ClassicParser ( IParser pow2Parser ) : System.Collections.Generic
pow2Parser IParser Parser for pow2 case.
리턴 System.Collections.Generic

Parse() 공개 메소드

Parses provided string representation of BigInteger object.
public Parse ( string value, int startIndex, int endIndex, uint numberBase, uint>.IDictionary charToDigits, uint digitsRes ) : uint
value string Number as string.
startIndex int Index inside string from which to start.
endIndex int Index inside string on which to end.
numberBase uint Number base.
charToDigits uint>.IDictionary Char->digit dictionary.
digitsRes uint Resulting digits.
리턴 uint