Giter Site home page Giter Site logo

datagenerate's Introduction

The Introduction of Data Generate

There are four main files in it;

  • main.exe: Main program;
  • data.cpp: The Builder of a alone data;
  • Std.cpp: The program to convert Input File to Output File;
  • settings.txt: The Configuration of the program.

You should generate you Datas by

  1. Modify the settings.txt;
  2. Code the data.cpp or Std.cpp;
  3. Run the 1.exe.

I use c++, you also can use other Programming language to do it, such as Python and C#; It can used in windows and you need a c++ complier likes G++, you can alse try it in Linux.

The usage of the setting .txt.

There is a example of it;

DataProgramName: data
stdProgramName: std
InputFileName: data\\break.in
OutputFileName: data\\break.out
TempFileName: a.txt
TheSizeOfData: 10

The above is the parameters of the 1.exe.

  • The file name of the Builder of a alone data, default is data, not including extension name;
  • The program to convert Input File to Output File, default is Std, not including extension name;
  • The file name (also can addition the relative path)of the Input Files, including extenson name;
  • The file name (also can addition the relative path)of the Output Files;
  • The file name of the temporary file, including the extension name;
  • The number of datas.

Note that:

  • Can't delete the Space, such as the space bettwen the ¡°DataProgramName:¡± and "data".
  • Must replace the \ or / to '\' in the relative path, because of the rule of c++.
  • The temporary file's function is let me know the now work, if now it is making the Sixth data, the number in the file must be in (5000,6000).

datagenerate's People

Contributors

frankaiyou avatar aiyougege avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.