Introduction

<< Click to Display Table of Contents >>

Navigation:  Building blocks of QGeNIe > Saving and loading models in QGeNIe >

Introduction

While QGeNIe is a general purpose decision modeling environment, it has been originally written with research and teaching environments in mind.

Opening a model in QGeNIe

There are three ways in which you can open a model in QGeNIe,

Choose Open... dialog from the File menu

Click on Open (open_model_button) button from the Standard Toolbar

Use the CTRL+O shortcut

Shown below is the Open... option in File Menu.

file_menu

The numbered list of files at the end of the File Menu are the Most Recently Used (MRU) file list. You can click on any of those names to re-open the file.

Each of the three ways of invoking File Open dialog leads to the following:

open_model_dialog

The dialog that appears allows you to choose a file to load.

QGeNIe uses the QDSL file format, which is an XML-based format.

Note : You can have multiple files open at the same time.

Opening a QGeNIe model from a BayesBox-powered model repository

QGeNIe supports loading models from BayesBox-powered repositories, which are web-based repositories, possibly local and internal to user's organization. There are three ways in which you can open a repository model in QGeNIe,

Choose Open from BayesBox... from the File Menu

Use the CTRL+SHIFT+O shortcut

Press the Open network from BayesBox (open_from_bayesbox_button) button

Each of the three actions opens the Open from BayesBox dialog:

open_from_bayesbox1

The default BayesBox instance is BayesFusion's model repository but any web address can be entered here. GeNIe remembers the last successful connection to a BayesBox instance, which is convenient for those users who rely on their internal BayesBoxes. Fetch allows to see models and categories present in the chosen BayesBox instance:

open_from_bayesbox2

It is possible to traverse BayesBox's directory structure by clicking on the Category pop-up menu:

open_from_bayesbox3

Selecting a model from the list fetches the model from the current BayesBox instance and opens it in QGeNIe.

Saving a model in QGeNIe

There are three ways in which you can save a file in QGeNIe:

Choose Save or Save As from the File menu

Click on Save (save_button) button from the Standard Toolbar

Use the CTRL+S (Save) shortcut

The difference between Save and Save As is that Save As lets you store the file under a different name, so that you can keep the original model file intact. Save will store the changes in the original file. However, if you are working on a new file, then Save As is the only option and Save converts to Save As.

save_as_dialog