Flexibilní vstupní rozhraní pro program Flow123d.

Title Alternative:Flexible input interface for the Flow123d program.
Loading...
Thumbnail Image
Date
2013-12-20
Journal Title
Journal ISSN
Volume Title
Publisher
Technická Univerzita v Liberci
Abstract
Cílem této bakalářské práce byl návrh flexibilního formátu vstupních dat pro program Flow123d a implementace funkcí pro čtení tohoto formátu v programovém jazyce C. Formát vstupních dat měl být snadno rozšiřitelný, pozičně nezávislý a tím umožňující kompatibilitu i s budoucími verzemi programu Flow123d. Navržený formát obsahuje spolu s daty i popis jejich významu pomocí klíčových slov. Čtecí funkce pak umožňují čtení hodnoty pro zadané klíčové slovo. Tento přístup významně oslabuje vazbu mezi vstupními daty a způsobem jejich čtení. Přiřazení klíčových slov je zadáno jednou pro celý soubor dat, takže zbytečně nezvětšuje velikost vstupních souborů. Díky navrženému rozhraní se ušetří mnoho času, stráveného pracným přepracováním nekompatibilních datových souborů.
The purpose of this bachelor work is a design of a flexible input data format for the program Flow 123d and an implementation of functions for reading of this format in the language C. The input data format should be extensible, positional independent, and thereby easily compatible even with future versions of the program Flow 123d. The proposed format contains the data together with a description of their meaning using a concept of key words. Then, the reading functions allow access to the values in terms of key words. This approach significantly relaxes the coupling between the input data and the way of their reading. The key words are assigned to the whole bunch of the input values so it does not magnify the size of input files. Thanks to the proposed interface we safe a lot of time spend in recasting incompatible data files.
Description
katedra: NTI; rozsah: 35 s.
Subject(s)
Citation
ISSN
ISBN