03-05-2015
I like the opt/oldlibraries idea. It would take me a bit of time to actually go and get all of these. Why wouln't it work do you think?
8 More Discussions You Might Find Interesting
1. Linux
I need to have the ability to read acrobat files on my Red hat linux boxes (enterprise level 3) . however acroread will not install saying i do not have gtk2 (gimp toolkit). Does anyone know where i can either get gtk2 for this linux or where i can get an acrobat reader for this flavour of linux. (1 Reply)
Discussion started by: frankkahle
1 Replies
2. UNIX Desktop Questions & Answers
I write this code.
It show the first dialog correctly.
but, no matter i modify the code(load module by use or require, or something i think maybe error)
it can't pop-up anymore.
and show this warning.
Thanks.
(I'm sorry for my English.)
Tue Mar 16 17:24:36 2010
... (0 Replies)
Discussion started by: snyh
0 Replies
3. Programming
hi everybody,
currently i'm playing with perl and Gtk2.
i've found a fairly old but nice looking example of a client/server application which is written in perl and Gtk2.
the server part works perfect but i can't start the client part and keep getting following error message:
$ ./client-gui.pl... (1 Reply)
Discussion started by: pseudocoder
1 Replies
4. Red Hat
I will shortly be adding a fedora flavor to my devel box. I currently have XP (installed first on an ssd), ubuntu 10.04 (installed second on the first partition of a platter drive), and I want to add either Cent or SL on the second partition of the platter drive. I will probably also want to... (0 Replies)
Discussion started by: LMHmedchem
0 Replies
5. Shell Programming and Scripting
Hello All,
Wasn't sure if this was the correct thread to post this under but figured it has to do with Perl and Gtk2 so why not...
Anyway.. How can I find out what the Default font being used is inside a Gtk2::Widget. In this case I'm trying to figure out the
font being used inside a... (1 Reply)
Discussion started by: mrm5102
1 Replies
6. Shell Programming and Scripting
Hai
how to activate (script2)page of a note book in Gtk2-Perl when one script1 is run successfully...
Thanks
kiran (0 Replies)
Discussion started by: kiran425
0 Replies
7. Shell Programming and Scripting
Hai
how to activate (script2)page of a note book in Gtk2-Perl when one script1 is run successfully...
Thanks
kiran (1 Reply)
Discussion started by: kiran425
1 Replies
8. UNIX for Advanced & Expert Users
Hi all,
So, I have a 32 bit gtk2.22 application that I run flawlessly in Fedora 14.
When I compile it on the 32bit machine run it on Fedora 20 64bit machine I get:
(myprogram:6736): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(myprogram.:6736): Gtk-WARNING **:... (15 Replies)
Discussion started by: fedora18
15 Replies
LEARN ABOUT DEBIAN
graph::bitmatrix
Graph::BitMatrix(3pm) User Contributed Perl Documentation Graph::BitMatrix(3pm)
NAME
Graph::BitMatrix - create and manipulate a V x V bit matrix of graph G
SYNOPSIS
use Graph::BitMatrix;
use Graph::Directed;
my $g = Graph::Directed->new;
$g->add_...(); # build $g
my $m = Graph::BitMatrix->new($g, %opt);
$m->get($u, $v)
$m->set($u, $v)
$m->unset($u, $v)
$m->get_row($u, $v1, $v2, ..., $vn)
$m->set_row($u, $v1, $v2, ..., $vn)
$m->unset_row($u, $v1, $v2, ..., $vn)
$a->vertices()
DESCRIPTION
This class enables creating bit matrices that compactly describe the connected of the graphs.
Class Methods
new($g)
Create a bit matrix from a Graph $g. The %opt, if present, can have the following options:
o connect_edges
If true or if not present, set the bits in the bit matrix that correspond to edges. If false, do not set any bits. In either
case the bit matrix of V x V bits is allocated.
Object Methods
get($u, $v)
Return true if the bit matrix has a "one bit" between the vertices $u and $v; in other words, if there is (at least one) a vertex going
from $u to $v. If there is no vertex and therefore a "zero bit", return false.
set($u, $v)
Set the bit between the vertices $u and $v; in other words, connect the vertices $u and $v by an edge. The change does not get
mirrored back to the original graph. Returns nothing.
unset($u, $v)
Unset the bit between the vertices $u and $v; in other words, disconnect the vertices $u and $v by an edge. The change does not get
mirrored back to the original graph. Returns nothing.
get_row($u, $v1, $v2, ..., $vn)
Test the row at vertex "u" for the vertices "v1", "v2", ..., "vn" Returns a list of n truth values.
set_row($u, $v1, $v2, ..., $vn)
Sets the row at vertex "u" for the vertices "v1", "v2", ..., "vn", in other words, connects the vertex "u" to the vertices "vi". The
changes do not get mirrored back to the original graph. Returns nothing.
unset_row($u, $v1, $v2, ..., $vn)
Unsets the row at vertex "u" for the vertices "v1", "v2", ..., "vn", in other words, disconnects the vertex "u" from the vertices "vi".
The changes do not get mirrored back to the original graph. Returns nothing.
vertices
Return the list of vertices in the bit matrix.
ALGORITHM
The algorithm used to create the matrix is two nested loops, which is O(V**2) in time, and the returned matrices are O(V**2) in space.
AUTHOR AND COPYRIGHT
Jarkko Hietaniemi jhi@iki.fi
LICENSE
This module is licensed under the same terms as Perl itself.
perl v5.10.0 2005-04-16 Graph::BitMatrix(3pm)