Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

go::model::treeiterator(3pm) [debian man page]

GO::Model::TreeIterator(3pm)				User Contributed Perl Documentation			      GO::Model::TreeIterator(3pm)

NAME
GO::Model::GraphIterator - wraps GO::Model::GraphIterator SYNOPSIS
DESCRIPTION
This is a hack. It wraps GO::Model::GraphIterator and provides a tree like iteration, rather than a graph-like iteration. This is done by giving TreeIterator a template array. The array looks like this : [ [3674, 'isa', 3673], [9277, 'isa', 5618] ] 3674 is selected iff it is the child of 3673. 9277 is selected iff it is the child of 5618. order Usage - $graphiter->order("breadth"); Returns - string Args - string gets/sets traversal order; breadth or depth; default is depth direction Usage - $graphiter->direction("up"); Returns - string Args - string gets/sets direction; default is "down" reset_cursor Usage - Returns - GO::Model::Term Args - next_node Usage - Returns - GO::Model::Term Args - set_bootstrap_mode Usage - Returns - Args - get_bootstrap_mode Usage - Returns - Args - get_current_path Usage - Returns - array ref Args - none next_node_instance Usage - Returns - GO::Model::GraphNodeInstance Args - perl v5.14.2 2013-02-07 GO::Model::TreeIterator(3pm)

Check Out this Related Man Page

GO::Model::GraphIterator(3pm)				User Contributed Perl Documentation			     GO::Model::GraphIterator(3pm)

NAME
GO::Model::GraphIterator - Graph iterator SYNOPSIS
$it = $graph->create_iterator; # returns a GO::Model::GraphIterator object while (my $ni = $it->next_node_instance) { $depth = $ni->depth; $term = $ni->term; $reltype = $ni->parent_rel->type; printf "%s %8s Term = %s (%s) // depth=%d ", "----" x $depth, $reltype, $term->name, $term->public_acc, $depth; } DESCRIPTION
SEE ALSO
GO::Model::Graph GO::Model::GraphNodeInstance order Usage - $graphiter->order("breadth"); Returns - string Args - string gets/sets traversal order; breadth or depth; default is depth direction Usage - $graphiter->direction("up"); Returns - string Args - string gets/sets direction; default is "down" compact Usage - $graphiter->compact(1); Returns - bool Args - bool set this if you dont want relationships to be traversed twice; this gives a more compact tree representation of the graph reltype_filter Usage - $graphiter->reltype_filter(qw(is_a part_of)) Returns - array Args - array by default, all relationship types are treated as transitive, and will be traversed by the iterator sometimes you dont want to traverse all relations, even if they are transitive. For example, when answering the query "find all genes expressed in the embryo" you way want subtypes of embryo and parts of the embryo but not things that develop_from the embryo. For more details, see <http://sourceforge.net/mailarchive/forum.php?thread_id=9448679&forum_id=43082> reset_cursor Usage - Returns - Args - next_node Usage - Returns - GO::Model::Term Args - next_node_instance Usage - Returns - GO::Model::GraphNodeInstance Args - flatten Usage - Returns - Args - _sortby_pos_in_list Careful, this sort function work on Term objects, not GraphNodeInstance objects. Comparison is done by the name of the term. perl v5.14.2 2013-02-07 GO::Model::GraphIterator(3pm)
Man Page

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

DEC 3000 Model 800/800S AXP (RAM Required)

Hi all, Have two legacy DEC 3000 Model 800/800S AXP boxes and woud apart from learning how to set them up properly, I'd like to also increase the amount of RAM on both (or at least one) of the servers. Currently I've moved all the RAM from the second box into the primary box which now holds a... (2 Replies)
Discussion started by: Cameron
2 Replies

2. AIX

Migration from OLD server to NEW one

Hi everybody, I want ask if it is possible to copy all storage structure (VGs, LVs & filesystems) from one server to another. In other words, I want to move my system from old server to new one, so I want the new server exactly have the same sizes and number of VGs, LVs, & filesystems. Thanks... (11 Replies)
Discussion started by: aldowsary
11 Replies

3. Solaris

Solaris Disk Usage

Disk Usage : I need a script which can help me in Following ways: 1) Input the Path where you want to find Usage Stats Suppose I enter /var/tmp 2) It Should list the partition in which its mounted, Percentage Used and Available and Users who are using the Maximum Space(in MB) with the... (1 Reply)
Discussion started by: sriram003
1 Replies

4. UNIX Benchmarks

Early PowerMac G5

Hardware Overview: Model Name: Power Mac G5 Model Identifier: PowerMac7,2 Processor Name: PowerPC 970 (2.2) Processor Speed: 1.8 GHz Number Of CPUs: 2 L2 Cache (per CPU): 512 KB Memory: 1.5 GB Bus Speed: 900 MHz Boot ROM Version:... (0 Replies)
Discussion started by: tnorth
0 Replies

5. AIX

Aix 5.3 or Linux?

Hey I have an IBM IntelliStation Power 9114 Model 275 1.45GHz Workstation 1-Way 1.45GHz Power4+ Processor (5223) 2GB Memory (4x 512MB Dimms) (4447) and was told that AIX 5.3 works on it, and that there was problems with Linux installs. Can I download AIX 5.3 or do I need to buy... (13 Replies)
Discussion started by: newtoaix
13 Replies

6. Shell Programming and Scripting

Creating a table

I have a file like below Iter 1: Best Model = 10.0 12.0 13.0 17.0 23.3 78.7 Iter 2: Best Model = 10.0 20.0 30.0 40.0 50.0 60.0 Iter 3: Best Model = 27.3 46.3 84.5 23.0 34.5 35.4 etc I want to use a scipts using csh or awk to select the iteration number and show the numbers in a table... (2 Replies)
Discussion started by: kristinu
2 Replies

7. UNIX for Dummies Questions & Answers

Overall CPU Usage

(0 Replies)
Discussion started by: saurabhiim2003
0 Replies

8. AIX

Usage of smitty alt_mksysb

Hello, in which situations should I use smitty alt_mksysb ? What is the general purpose of this tool. Thanks for help, p (1 Reply)
Discussion started by: pitmod
1 Replies

9. AIX

Connecting system to Virtual HMC

Hi, I just successfully build a Virtual Machine in virtual box with Perfectly running HMC v7. I have a IBM eServer pSeries Model 630 Model 6C4 (Power 4) i.e. 7024-6C4. I am not able to have it connect to the HMC console on the Virtual Box. Can anyone help me on how to connect it to the... (8 Replies)
Discussion started by: uzair_rock
8 Replies

10. UNIX for Dummies Questions & Answers

Operator Usage!

Hai, Can any one known the Usage of Below operator := Please give with an example ! (5 Replies)
Discussion started by: barathas
5 Replies