Skip to content

Launch the Program. Setup Configuration.

Aleksandr Glukhikh edited this page Nov 24, 2019 · 1 revision

PCGConsole.exe.config

The main configuration file of .NET application. Parameters:

    <add key="FirstTaskPath" value="Input\task1.xml"/>
    <add key="LastStatePath" value="laststate.xml"/>
  • LastStatePath - State of program`s last execution. Progress result is saved if it was interrupted without completing the entire search cycle. It does not always work correctly. It works when stopped by typing command ('stop' command in the console). If you cannot start the program with the saved configuration, you must delete this file (then the last state of the program will be lost).
  • FirstTaskPath - parameters of synthesis of circulant graphs. 'Task' is meant as a list of parametric descriptions (consisting of the number of nodes and the number of generators, there are also hidden parameters that have not been added). Description of mutable variables:

Task attribute description

The contents of the Task.xml file is as follows:

<Task xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
nodesDescription="6-750,1000,2500,5000,7500" dimension="3" threadsCount="6" 
outputFolderPath="Output/only1" fullName="Glukhikh A." isFullLogging="false" isFullReport="false" />
  • nodesDescription - count of nodes in the graph. For simple tasks, you can create lists, similar to: 100, 250-340, 1029, 2090. If any unprocessed characters are contained program should ignore them and process the record without them.
  • dimension - count of generators. It can be any positive number, but it is better to set 2 or greater.
  • threadsCount - count of threads. If the attribute is absent or less than 1, then the default is an integer divided by the number of logical processors by 2. For large values, the optimal number of threads will be selected. The program itself runs in at least 3 threads (tracking command input, queue checking, and synthesis).
  • fullName - User name. There may also be some kind of unique name used in the compilation of the report.
  • output - Path to save the data. The data is saved in a specialized format, and to receive it in a “formatted” state, you must use the program that I gave to Romanov A.Yu. (lays on his github).