GrafoDB-class: Main GrafoDB class

GrafoDB-classR Documentation

Main GrafoDB class

Description

Class for manipulating data described with formulas and evaluated as a topological sorting of nodes in a graph data structure. This class provides a persistence layer towards generic DBMS (by now only PostgreSQL) has been implemented

The array returned is already sorted by topological sorting algorithm

Usage

## S4 method for signature 'GrafoDB'
names(x)

## S4 method for signature 'GrafoDB'
keys(x)

## S4 method for signature 'GrafoDB'
values(x, key = NULL)

Arguments

x

GrafoDB instance

key

key of the values

Value

all the nodes in the graph, topologically sorted.

Slots

tag

edition of this Graph

network

igraph containing the DAG

data

hash containing changed data of this GrafoDB

functions

hash containing function data of this GrafoDB

ordinal

ordinale dei dati storici (0 per la produzione corrente)

timestamp

of the current GrafoDB

touched

object being modified

edges

the edges being modified

dbdati

data.frame containing data

dbformule

data.frame containing functions

Examples

## Not run: 
   g = GrafoDB("cf10") # istanzia il grafo chiamato 'cf10'
                       # in questo caso ordinal e' 0
   g = GrafoDB("cf10p2") # istanzia il grafo cf10 con provvisorio p2;
                         # in questo caso ordinal e' 2

## End(Not run)

giupo/GrafoDB documentation built on Oct. 12, 2022, 9:43 a.m.