public class TTDSuite extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TTD_DEPTH_OP_CODE |
Constructor and Description |
---|
TTDSuite(String ttdEntriesFilePath)
Parses the time-to-depth entries.
|
Modifier and Type | Method and Description |
---|---|
List<EPDRecord> |
getRecords()
Returns a list of the TTD records.
|
static Map.Entry<Long,Long> |
searchTest(UCIEngine engine,
EPDRecord record,
int additionalDepth)
It has the parameter engine search the position specified in the TTD record to the (potentially adjusted) depth specified in the
record.
|
public static final String TTD_DEPTH_OP_CODE
public TTDSuite(String ttdEntriesFilePath) throws IOException
ttdEntriesFilePath
- The path to the file containing the TTD entries.IOException
- If the file does not exist or cannot be read.public List<EPDRecord> getRecords()
public static Map.Entry<Long,Long> searchTest(UCIEngine engine, EPDRecord record, int additionalDepth) throws Exception
engine
- The engine to test.record
- The time-to-depth record.additionalDepth
- Optional adjustment to the depth specified in the entry.Exception
- If the engine is not initialized and it cannot be initialized.Copyright © 2020. All rights reserved.