poiFile-class {rPorta}R Documentation

Class "poiFile"

Description

Encapsulates PORTA files describing polyhedra in PORTA's poi file format.

Objects from the Class

A poiFile object holds three slots.

Slots

convex_hull:
poi object containing a set of points describing the polyhedron
convex_cone:
poi object containing a set of vectors spanning a convex cone
strong_validity:
Only used for return values containing a strong validity table

Methods

convertToString
Convert to character string in PORTA's format
dim
dim computes the dimension of the convex hull and the convex cone of a given set of points by using a gaussian elimination algorithm. Moreover, in the case that the input system is not full dimensional, dim displays the equations satisfied by the system.

Extends

Class "portaFile", directly.

Author(s)

Robin Nunkesser Robin.Nunkesser@tu-dortmund.de

See Also

"poi", "ieq", "ieqFile"

Examples

# Show the definition of example.poi to provide an example
example.poi

# A second example
hull <-  as.poi(matrix(1:30,ncol=3))
cone <- new("poi", num=matrix(c(0,0,2), nrow=1,ncol=3), den=matrix(c(1,1,3),nrow=1,ncol=3))
poiFileExample<-new("poiFile", convex_hull=hull, convex_cone=cone)

[Package rPorta version 0.1-9 Index]