nytprof run results of /variantgraph/<ID> and /relation/<ID>/relationships
[scpubgit/stemmatology.git] / stemmaweb / nytprof-runs / variantgraph-uuid / lib-Text-Tradition-Collation-Relationship-pm-888-sub.html
CommitLineData
8e30e889 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3<!--
4This file was generated by Devel::NYTProf version 4.06
5-->
6<head>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 <meta http-equiv="Content-Language" content="en-us" />
9 <title>Profile of lib/Text/Tradition/Collation/Relationship.pm</title>
10<link rel="stylesheet" type="text/css" href="style.css" />
11 <script type="text/javascript" src="js/jquery-min.js"></script>
12
13 <script type="text/javascript" src="js/jquery-tablesorter-min.js"></script>
14 <link rel="stylesheet" type="text/css" href="js/style-tablesorter.css" />
15 <script type="text/javascript">
16 // when a column is first clicked on to sort it, use descending order
17 // XXX doesn't seem to work (and not just because the tablesorter formatSortingOrder() is broken)
18 $.tablesorter.defaults.sortInitialOrder = "desc";
19 // add parser through the tablesorter addParser method
20 $.tablesorter.addParser({
21 id: 'fmt_time', // name of this parser
22 is: function(s) {
23 return false; // return false so this parser is not auto detected
24 },
25 format: function(orig) { // format data for normalization
26 // console.log(orig);
27 val = orig.replace(/ns/,'');
28 if (val != orig) { return val / (1000*1000*1000); }
29 val = orig.replace(/µs/,''); /* XXX use &micro; ? */
30 if (val != orig) { return val / (1000*1000); }
31 var val = orig.replace(/ms/,'');
32 if (val != orig) { return val / (1000); }
33 var val = orig.replace(/s/,'');
34 if (val != orig) { return val; }
35 if (orig == '0') { return orig; }
36 console.log('no match for fmt_time of '.concat(orig));
37 return orig;
38 },
39 type: 'numeric' // set type, either numeric or text
40 });
41 </script>
42</head>
43
44<body >
45<div class="header" style="position: relative; overflow-x: hidden; overflow-y: hidden; z-index: 0; ">
46<div class="header_back">
47 <a href="index.html">&larr; Index</a>
48 </div>
49<div class="headerForeground" style="float: left">
50 <span class="siteTitle">NYTProf Performance Profile</span>
51 <span class="siteSubtitle">&emsp;&emsp;<span>&laquo;&emsp;<span class="mode_btn"><a href="lib-Text-Tradition-Collation-Relationship-pm-888-block.html">block view</a></span>&emsp;&bull;&emsp;<span class="mode_btn"><a href="lib-Text-Tradition-Collation-Relationship-pm-888-line.html">line view</a></span>&emsp;&bull;&emsp;<span class="mode_btn mode_btn_selected">sub view</span>&emsp;&raquo;</span><br />
52 For script/nytprof.pl
53 </span>
54</div>
55<div class="headerForeground" style="float: right; text-align: right">
56 <span class="siteTitle">&nbsp;</span>
57 <span class="siteSubtitle">Run on Thu May 31 16:29:39 2012<br />Reported on Thu May 31 16:35:03 2012</span>
58</div>
59<div style="position: absolute; left: 0px; top: 0%; width: 100%; height: 101%; z-index: -1; background-color: rgb(17, 136, 255); "></div>
60<div style="position: absolute; left: 0px; top: 2%; width: 100%; height: 99%; z-index: -1; background-color: rgb(16, 134, 253); "></div>
61<div style="position: absolute; left: 0px; top: 4%; width: 100%; height: 97%; z-index: -1; background-color: rgb(16, 133, 252); "></div>
62<div style="position: absolute; left: 0px; top: 6%; width: 100%; height: 95%; z-index: -1; background-color: rgb(15, 131, 250); "></div>
63<div style="position: absolute; left: 0px; top: 8%; width: 100%; height: 93%; z-index: -1; background-color: rgb(15, 130, 249); "></div>
64<div style="position: absolute; left: 0px; top: 10%; width: 100%; height: 91%; z-index: -1; background-color: rgb(15, 129, 248); "></div>
65<div style="position: absolute; left: 0px; top: 12%; width: 100%; height: 89%; z-index: -1; background-color: rgb(14, 127, 246); "></div>
66<div style="position: absolute; left: 0px; top: 14%; width: 100%; height: 87%; z-index: -1; background-color: rgb(14, 126, 245); "></div>
67<div style="position: absolute; left: 0px; top: 16%; width: 100%; height: 85%; z-index: -1; background-color: rgb(14, 125, 244); "></div>
68<div style="position: absolute; left: 0px; top: 18%; width: 100%; height: 83%; z-index: -1; background-color: rgb(13, 123, 242); "></div>
69<div style="position: absolute; left: 0px; top: 20%; width: 100%; height: 81%; z-index: -1; background-color: rgb(13, 122, 241); "></div>
70<div style="position: absolute; left: 0px; top: 22%; width: 100%; height: 79%; z-index: -1; background-color: rgb(13, 121, 240); "></div>
71<div style="position: absolute; left: 0px; top: 24%; width: 100%; height: 77%; z-index: -1; background-color: rgb(12, 119, 238); "></div>
72<div style="position: absolute; left: 0px; top: 26%; width: 100%; height: 75%; z-index: -1; background-color: rgb(12, 118, 237); "></div>
73<div style="position: absolute; left: 0px; top: 28%; width: 100%; height: 73%; z-index: -1; background-color: rgb(12, 116, 235); "></div>
74<div style="position: absolute; left: 0px; top: 30%; width: 100%; height: 71%; z-index: -1; background-color: rgb(11, 115, 234); "></div>
75<div style="position: absolute; left: 0px; top: 32%; width: 100%; height: 69%; z-index: -1; background-color: rgb(11, 114, 233); "></div>
76<div style="position: absolute; left: 0px; top: 34%; width: 100%; height: 67%; z-index: -1; background-color: rgb(11, 112, 231); "></div>
77<div style="position: absolute; left: 0px; top: 36%; width: 100%; height: 65%; z-index: -1; background-color: rgb(10, 111, 230); "></div>
78<div style="position: absolute; left: 0px; top: 38%; width: 100%; height: 63%; z-index: -1; background-color: rgb(10, 110, 229); "></div>
79<div style="position: absolute; left: 0px; top: 40%; width: 100%; height: 61%; z-index: -1; background-color: rgb(10, 108, 227); "></div>
80<div style="position: absolute; left: 0px; top: 42%; width: 100%; height: 59%; z-index: -1; background-color: rgb(9, 107, 226); "></div>
81<div style="position: absolute; left: 0px; top: 44%; width: 100%; height: 57%; z-index: -1; background-color: rgb(9, 106, 225); "></div>
82<div style="position: absolute; left: 0px; top: 46%; width: 100%; height: 55%; z-index: -1; background-color: rgb(9, 104, 223); "></div>
83<div style="position: absolute; left: 0px; top: 48%; width: 100%; height: 53%; z-index: -1; background-color: rgb(8, 103, 222); "></div>
84<div style="position: absolute; left: 0px; top: 50%; width: 100%; height: 51%; z-index: -1; background-color: rgb(8, 102, 221); "></div>
85<div style="position: absolute; left: 0px; top: 52%; width: 100%; height: 49%; z-index: -1; background-color: rgb(8, 100, 219); "></div>
86<div style="position: absolute; left: 0px; top: 54%; width: 100%; height: 47%; z-index: -1; background-color: rgb(7, 99, 218); "></div>
87<div style="position: absolute; left: 0px; top: 56%; width: 100%; height: 45%; z-index: -1; background-color: rgb(7, 97, 216); "></div>
88<div style="position: absolute; left: 0px; top: 58%; width: 100%; height: 43%; z-index: -1; background-color: rgb(7, 96, 215); "></div>
89<div style="position: absolute; left: 0px; top: 60%; width: 100%; height: 41%; z-index: -1; background-color: rgb(6, 95, 214); "></div>
90<div style="position: absolute; left: 0px; top: 62%; width: 100%; height: 39%; z-index: -1; background-color: rgb(6, 93, 212); "></div>
91<div style="position: absolute; left: 0px; top: 64%; width: 100%; height: 37%; z-index: -1; background-color: rgb(6, 92, 211); "></div>
92<div style="position: absolute; left: 0px; top: 66%; width: 100%; height: 35%; z-index: -1; background-color: rgb(5, 91, 210); "></div>
93<div style="position: absolute; left: 0px; top: 68%; width: 100%; height: 33%; z-index: -1; background-color: rgb(5, 89, 208); "></div>
94<div style="position: absolute; left: 0px; top: 70%; width: 100%; height: 31%; z-index: -1; background-color: rgb(5, 88, 207); "></div>
95<div style="position: absolute; left: 0px; top: 72%; width: 100%; height: 29%; z-index: -1; background-color: rgb(4, 87, 206); "></div>
96<div style="position: absolute; left: 0px; top: 74%; width: 100%; height: 27%; z-index: -1; background-color: rgb(4, 85, 204); "></div>
97<div style="position: absolute; left: 0px; top: 76%; width: 100%; height: 25%; z-index: -1; background-color: rgb(4, 84, 203); "></div>
98<div style="position: absolute; left: 0px; top: 78%; width: 100%; height: 23%; z-index: -1; background-color: rgb(3, 82, 201); "></div>
99<div style="position: absolute; left: 0px; top: 80%; width: 100%; height: 21%; z-index: -1; background-color: rgb(3, 81, 200); "></div>
100<div style="position: absolute; left: 0px; top: 82%; width: 100%; height: 19%; z-index: -1; background-color: rgb(3, 80, 199); "></div>
101<div style="position: absolute; left: 0px; top: 84%; width: 100%; height: 17%; z-index: -1; background-color: rgb(2, 78, 197); "></div>
102<div style="position: absolute; left: 0px; top: 86%; width: 100%; height: 15%; z-index: -1; background-color: rgb(2, 77, 196); "></div>
103<div style="position: absolute; left: 0px; top: 88%; width: 100%; height: 13%; z-index: -1; background-color: rgb(2, 76, 195); "></div>
104<div style="position: absolute; left: 0px; top: 90%; width: 100%; height: 11%; z-index: -1; background-color: rgb(1, 74, 193); "></div>
105<div style="position: absolute; left: 0px; top: 92%; width: 100%; height: 9%; z-index: -1; background-color: rgb(1, 73, 192); "></div>
106<div style="position: absolute; left: 0px; top: 94%; width: 100%; height: 7%; z-index: -1; background-color: rgb(1, 72, 191); "></div>
107<div style="position: absolute; left: 0px; top: 96%; width: 100%; height: 5%; z-index: -1; background-color: rgb(0, 70, 189); "></div>
108<div style="position: absolute; left: 0px; top: 98%; width: 100%; height: 3%; z-index: -1; background-color: rgb(0, 69, 188); "></div>
109<div style="position: absolute; left: 0px; top: 100%; width: 100%; height: 1%; z-index: -1; background-color: rgb(0, 68, 187); "></div>
110</div>
111
112<div class="body_content"><br />
113<table class="file_summary"><tr><td class="h">Filename</td><td align="left"><a href="file:///Users/edenc/share/src/stemmatology/stemmaweb/lib/Text/Tradition/Collation/Relationship.pm">/Users/edenc/share/src/stemmatology/stemmaweb/lib/Text/Tradition/Collation/Relationship.pm</a></td></tr>
114<tr><td class="h">Statements</td><td align="left">Executed 472 statements in 2.32ms</td></tr></table>
115
116 <table id="subs_table" border="1" cellpadding="0" class="tablesorter">
117 <caption>Subroutines</caption>
118 <thead>
119 <tr>
120 <th>Calls</th>
121 <th><span title="Number of Places sub is called from">P</span></th>
122 <th><span title="Number of Files sub is called from">F</span></th>
123 <th>Exclusive<br />Time</th>
124 <th>Inclusive<br />Time</th>
125 <th>Subroutine</th>
126 </tr>
127 </thead>
128 <tbody>
129<tr><td class="c0">118</td><td class="c1">2</td><td class="c3">1</td><td class="c0"><span title="0.0%">981&micro;s</span></td><td class="c3"><span title="0.0%">1.58ms</span></td><td class="sub_name"><span style="display: none;">Text::Tradition::Collation::Relationship::::colocated</span>Text::Tradition::Collation::Relationship::<a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#132">colocated</a></span></td></tr>
130<tr><td class="c0">108</td><td class="c1">2</td><td class="c3">1</td><td class="c0"><span title="0.0%">546&micro;s</span></td><td class="c3"><span title="0.0%">809&micro;s</span></td><td class="sub_name"><span style="display: none;">Text::Tradition::Collation::Relationship::::nonlocal</span>Text::Tradition::Collation::Relationship::<a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#143">nonlocal</a></span></td></tr>
131<tr><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td><td class="c3"><span title="0.0%">54&micro;s</span></td><td class="c1"><span title="0.0%">4.36ms</span></td><td class="sub_name"><span style="display: none;">Text::Tradition::Collation::Relationship::::BEGIN@3</span>Text::Tradition::Collation::Relationship::<a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#3">BEGIN@3</a></span></td></tr>
132<tr><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td><td class="c3"><span title="0.0%">13&micro;s</span></td><td class="c3"><span title="0.0%">164&micro;s</span></td><td class="sub_name"><span style="display: none;">Text::Tradition::Collation::Relationship::::BEGIN@148</span>Text::Tradition::Collation::Relationship::<a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#148">BEGIN@148</a></span></td></tr>
133<tr><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td><td class="c3"><span title="0.0%">12&micro;s</span></td><td class="c3"><span title="0.0%">116&micro;s</span></td><td class="sub_name"><span style="display: none;">Text::Tradition::Collation::Relationship::::BEGIN@11</span>Text::Tradition::Collation::Relationship::<a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#11">BEGIN@11</a></span></td></tr>
134<tr><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td><td class="c3"><span title="0.0%">11&micro;s</span></td><td class="c3"><span title="0.0%">1.80ms</span></td><td class="sub_name"><span style="display: none;">Text::Tradition::Collation::Relationship::::BEGIN@4</span>Text::Tradition::Collation::Relationship::<a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#4">BEGIN@4</a></span></td></tr>
135</tbody></table>
136 Call graph for these subroutines as a
137 <a href="http://en.wikipedia.org/wiki/Graphviz">Graphviz</a>
138 <a href="Users-edenc-share-src-stemmatology-stemmaweb-lib-Text-Tradition-Collation-Relationship-pm.dot">dot language file</a>.
139
140 <table border="1" cellpadding="0">
141 <thead>
142 <tr><th>Line</th>
143 <th><span title="Number of statements executed">State<br />ments</span></th>
144 <th><span title="Time spend executing statements on the line,
145 excluding time spent executing statements in any called subroutines">Time<br />on line</span></th>
146 <th><span title="Number of subroutines calls">Calls</span></th>
147 <th><span title="Time spent in subroutines called (inclusive)">Time<br />in subs</span></th>
148 <th class="left_indent_header">Code</th>
149 </tr>
150
151 </thead>
152 <tbody>
153 <tr><td class="h"><a name="1"></a>1</td><td></td><td></td><td></td><td></td><td class="s">package Text::Tradition::Collation::Relationship;</td></tr>
154<tr><td class="h"><a name="2"></a>2</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
155<tr><td class="h"><a name="3"></a>3</td><td class="c1">2</td><td class="c0"><span title="Avg 22&micro;s">44&micro;s</span></td><td class="c1">2</td><td class="c0">8.67ms</td><td class="s"><div class="calls"><div class="calls_in"># spent 4.36ms (54&micro;s+4.31) within Text::Tradition::Collation::Relationship::BEGIN@3 which was called:
156# once (54&micro;s+4.31ms) by Text::Tradition::Collation::RelationshipStore::BEGIN@6 at <a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#3">line 3</a></div></div>use Moose;<div class="calls"><div class="calls_out"># spent 4.36ms making 1 call to <a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#3">Text::Tradition::Collation::Relationship::BEGIN@3</a>
157# spent 4.31ms making 1 call to <a href="Moose-Exporter-pm-82-sub.html#402">Moose::Exporter::__ANON__[Moose/Exporter.pm:492]</a></div></div></td></tr>
158<tr><td class="h"><a name="4"></a>4</td><td class="c1">2</td><td class="c0"><span title="Avg 32&micro;s">64&micro;s</span></td><td class="c1">2</td><td class="c0">3.60ms</td><td class="s"><div class="calls"><div class="calls_in"># spent 1.80ms (11&micro;s+1.79) within Text::Tradition::Collation::Relationship::BEGIN@4 which was called:
159# once (11&micro;s+1.79ms) by Text::Tradition::Collation::RelationshipStore::BEGIN@6 at <a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#4">line 4</a></div></div>use Moose::Util::TypeConstraints;<div class="calls"><div class="calls_out"># spent 1.80ms making 1 call to <a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#4">Text::Tradition::Collation::Relationship::BEGIN@4</a>
160# spent 1.79ms making 1 call to <a href="Moose-Exporter-pm-82-sub.html#402">Moose::Exporter::__ANON__[Moose/Exporter.pm:492]</a></div></div></td></tr>
161<tr><td class="h"><a name="5"></a>5</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
162<tr><td class="h"><a name="6"></a>6</td><td class="c3">1</td><td class="c3"><span title="Avg 4&micro;s">4&micro;s</span></td><td class="c3">1</td><td class="c3">786&micro;s</td><td class="s">enum 'RelationshipType' =&gt; qw( spelling orthographic grammatical lexical<div class="calls"><div class="calls_out"># spent 786&micro;s making 1 call to <a href="Moose-Util-TypeConstraints-pm-172-sub.html#428">Moose::Util::TypeConstraints::enum</a></div></div></td></tr>
163<tr><td class="h"><a name="7"></a>7</td><td></td><td></td><td></td><td></td><td class="s"> collated repetition transposition );</td></tr>
164<tr><td class="h"><a name="8"></a>8</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
165<tr><td class="h"><a name="9"></a>9</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c3">385&micro;s</td><td class="s">enum 'RelationshipScope' =&gt; qw( local document global );<div class="calls"><div class="calls_out"># spent 385&micro;s making 1 call to <a href="Moose-Util-TypeConstraints-pm-172-sub.html#428">Moose::Util::TypeConstraints::enum</a></div></div></td></tr>
166<tr><td class="h"><a name="10"></a>10</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
167<tr><td class="h"><a name="11"></a>11</td><td class="c1">2</td><td class="c0"><span title="Avg 170&micro;s">340&micro;s</span></td><td class="c1">2</td><td class="c3">221&micro;s</td><td class="s"><div class="calls"><div class="calls_in"># spent 116&micro;s (12+104) within Text::Tradition::Collation::Relationship::BEGIN@11 which was called:
168# once (12&micro;s+104&micro;s) by Text::Tradition::Collation::RelationshipStore::BEGIN@6 at <a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#11">line 11</a></div></div>no Moose::Util::TypeConstraints;<div class="calls"><div class="calls_out"># spent 116&micro;s making 1 call to <a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#11">Text::Tradition::Collation::Relationship::BEGIN@11</a>
169# spent 104&micro;s making 1 call to <a href="Moose-Exporter-pm-82-sub.html#670">Moose::Exporter::__ANON__[Moose/Exporter.pm:678]</a></div></div></td></tr>
170<tr><td class="h"><a name="12"></a>12</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
171<tr><td class="h"><a name="13"></a>13</td><td></td><td></td><td></td><td></td><td class="s">=head1 NAME</td></tr>
172<tr><td class="h"><a name="14"></a>14</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
173<tr><td class="h"><a name="15"></a>15</td><td></td><td></td><td></td><td></td><td class="s">Text::Tradition::Collation::Relationship - represents a syntactic or semantic</td></tr>
174<tr><td class="h"><a name="16"></a>16</td><td></td><td></td><td></td><td></td><td class="s">relationship between two readings</td></tr>
175<tr><td class="h"><a name="17"></a>17</td><td></td><td></td><td></td><td></td><td class="s"> </td></tr>
176<tr><td class="h"><a name="18"></a>18</td><td></td><td></td><td></td><td></td><td class="s">=head1 DESCRIPTION</td></tr>
177<tr><td class="h"><a name="19"></a>19</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
178<tr><td class="h"><a name="20"></a>20</td><td></td><td></td><td></td><td></td><td class="s">Text::Tradition is a library for representation and analysis of collated</td></tr>
179<tr><td class="h"><a name="21"></a>21</td><td></td><td></td><td></td><td></td><td class="s">texts, particularly medieval ones. A relationship connects two readings</td></tr>
180<tr><td class="h"><a name="22"></a>22</td><td></td><td></td><td></td><td></td><td class="s">within a collation, usually when they appear in the same place in different</td></tr>
181<tr><td class="h"><a name="23"></a>23</td><td></td><td></td><td></td><td></td><td class="s">texts.</td></tr>
182<tr><td class="h"><a name="24"></a>24</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
183<tr><td class="h"><a name="25"></a>25</td><td></td><td></td><td></td><td></td><td class="s">=head1 CONSTRUCTOR</td></tr>
184<tr><td class="h"><a name="26"></a>26</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
185<tr><td class="h"><a name="27"></a>27</td><td></td><td></td><td></td><td></td><td class="s">=head2 new</td></tr>
186<tr><td class="h"><a name="28"></a>28</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
187<tr><td class="h"><a name="29"></a>29</td><td></td><td></td><td></td><td></td><td class="s">Creates a new relationship. Usually called via $collation-&gt;add_relationship.</td></tr>
188<tr><td class="h"><a name="30"></a>30</td><td></td><td></td><td></td><td></td><td class="s">Options include:</td></tr>
189<tr><td class="h"><a name="31"></a>31</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
190<tr><td class="h"><a name="32"></a>32</td><td></td><td></td><td></td><td></td><td class="s">=over 4</td></tr>
191<tr><td class="h"><a name="33"></a>33</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
192<tr><td class="h"><a name="34"></a>34</td><td></td><td></td><td></td><td></td><td class="s">=item * type - Can be one of spelling, orthographic, grammatical, lexical, </td></tr>
193<tr><td class="h"><a name="35"></a>35</td><td></td><td></td><td></td><td></td><td class="s">collated, repetition, transposition. All but the last two are only valid </td></tr>
194<tr><td class="h"><a name="36"></a>36</td><td></td><td></td><td></td><td></td><td class="s">relationships between readings that occur at the same point in the text. </td></tr>
195<tr><td class="h"><a name="37"></a>37</td><td></td><td></td><td></td><td></td><td class="s">The 'collated' relationship should only be used by parsers to align readings </td></tr>
196<tr><td class="h"><a name="38"></a>38</td><td></td><td></td><td></td><td></td><td class="s">in the graph when the input information would otherwise be lost, e.g. from</td></tr>
197<tr><td class="h"><a name="39"></a>39</td><td></td><td></td><td></td><td></td><td class="s">an alignment table.</td></tr>
198<tr><td class="h"><a name="40"></a>40</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
199<tr><td class="h"><a name="41"></a>41</td><td></td><td></td><td></td><td></td><td class="s">=item * displayform - (Optional) The reading that should be displayed if the </td></tr>
200<tr><td class="h"><a name="42"></a>42</td><td></td><td></td><td></td><td></td><td class="s">related nodes are treated as one.</td></tr>
201<tr><td class="h"><a name="43"></a>43</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
202<tr><td class="h"><a name="44"></a>44</td><td></td><td></td><td></td><td></td><td class="s">=item * scope - (Optional) A meta-attribute. Can be one of 'local', </td></tr>
203<tr><td class="h"><a name="45"></a>45</td><td></td><td></td><td></td><td></td><td class="s">'document', or 'global'. Denotes whether the relationship between the two </td></tr>
204<tr><td class="h"><a name="46"></a>46</td><td></td><td></td><td></td><td></td><td class="s">readings holds always, independent of context, either within this tradition </td></tr>
205<tr><td class="h"><a name="47"></a>47</td><td></td><td></td><td></td><td></td><td class="s">or across all traditions.</td></tr>
206<tr><td class="h"><a name="48"></a>48</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
207<tr><td class="h"><a name="49"></a>49</td><td></td><td></td><td></td><td></td><td class="s">=item * annotation - (Optional) A freeform note to attach to the relationship.</td></tr>
208<tr><td class="h"><a name="50"></a>50</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
209<tr><td class="h"><a name="51"></a>51</td><td></td><td></td><td></td><td></td><td class="s">=item * non_correctable - (Optional) True if the reading would not have been </td></tr>
210<tr><td class="h"><a name="52"></a>52</td><td></td><td></td><td></td><td></td><td class="s">corrected independently.</td></tr>
211<tr><td class="h"><a name="53"></a>53</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
212<tr><td class="h"><a name="54"></a>54</td><td></td><td></td><td></td><td></td><td class="s">=item * non_independent - (Optional) True if the variant is unlikely to have </td></tr>
213<tr><td class="h"><a name="55"></a>55</td><td></td><td></td><td></td><td></td><td class="s">occurred independently in unrelated witnesses.</td></tr>
214<tr><td class="h"><a name="56"></a>56</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
215<tr><td class="h"><a name="57"></a>57</td><td></td><td></td><td></td><td></td><td class="s">=back</td></tr>
216<tr><td class="h"><a name="58"></a>58</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
217<tr><td class="h"><a name="59"></a>59</td><td></td><td></td><td></td><td></td><td class="s">=head1 ACCESSORS</td></tr>
218<tr><td class="h"><a name="60"></a>60</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
219<tr><td class="h"><a name="61"></a>61</td><td></td><td></td><td></td><td></td><td class="s">=head2 type</td></tr>
220<tr><td class="h"><a name="62"></a>62</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
221<tr><td class="h"><a name="63"></a>63</td><td></td><td></td><td></td><td></td><td class="s">=head2 displayform</td></tr>
222<tr><td class="h"><a name="64"></a>64</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
223<tr><td class="h"><a name="65"></a>65</td><td></td><td></td><td></td><td></td><td class="s">=head2 scope</td></tr>
224<tr><td class="h"><a name="66"></a>66</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
225<tr><td class="h"><a name="67"></a>67</td><td></td><td></td><td></td><td></td><td class="s">=head2 annotation</td></tr>
226<tr><td class="h"><a name="68"></a>68</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
227<tr><td class="h"><a name="69"></a>69</td><td></td><td></td><td></td><td></td><td class="s">=head2 non_correctable</td></tr>
228<tr><td class="h"><a name="70"></a>70</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
229<tr><td class="h"><a name="71"></a>71</td><td></td><td></td><td></td><td></td><td class="s">=head2 non_independent</td></tr>
230<tr><td class="h"><a name="72"></a>72</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
231<tr><td class="h"><a name="73"></a>73</td><td></td><td></td><td></td><td></td><td class="s">See the option descriptions above.</td></tr>
232<tr><td class="h"><a name="74"></a>74</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
233<tr><td class="h"><a name="75"></a>75</td><td></td><td></td><td></td><td></td><td class="s">=cut</td></tr>
234<tr><td class="h"><a name="76"></a>76</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
235<tr><td class="h"><a name="77"></a>77</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c3">2.03ms</td><td class="s">has 'type' =&gt; (<div class="calls"><div class="calls_out"># spent 2.03ms making 1 call to <a href="Moose-pm-62-sub.html#70">Moose::has</a></div></div></td></tr>
236<tr><td class="h"><a name="78"></a>78</td><td></td><td></td><td></td><td></td><td class="s"> is =&gt; 'ro',</td></tr>
237<tr><td class="h"><a name="79"></a>79</td><td></td><td></td><td></td><td></td><td class="s"> isa =&gt; 'RelationshipType',</td></tr>
238<tr><td class="h"><a name="80"></a>80</td><td></td><td></td><td></td><td></td><td class="s"> required =&gt; 1,</td></tr>
239<tr><td class="h"><a name="81"></a>81</td><td></td><td></td><td></td><td></td><td class="s"> );</td></tr>
240<tr><td class="h"><a name="82"></a>82</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
241<tr><td class="h"><a name="83"></a>83</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c3">1.64ms</td><td class="s">has 'reading_a' =&gt; (<div class="calls"><div class="calls_out"># spent 1.64ms making 1 call to <a href="Moose-pm-62-sub.html#70">Moose::has</a></div></div></td></tr>
242<tr><td class="h"><a name="84"></a>84</td><td></td><td></td><td></td><td></td><td class="s"> is =&gt; 'ro',</td></tr>
243<tr><td class="h"><a name="85"></a>85</td><td></td><td></td><td></td><td></td><td class="s"> isa =&gt; 'Str',</td></tr>
244<tr><td class="h"><a name="86"></a>86</td><td></td><td></td><td></td><td></td><td class="s"> required =&gt; 1,</td></tr>
245<tr><td class="h"><a name="87"></a>87</td><td></td><td></td><td></td><td></td><td class="s"> );</td></tr>
246<tr><td class="h"><a name="88"></a>88</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
247<tr><td class="h"><a name="89"></a>89</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c3">1.66ms</td><td class="s">has 'reading_b' =&gt; (<div class="calls"><div class="calls_out"># spent 1.66ms making 1 call to <a href="Moose-pm-62-sub.html#70">Moose::has</a></div></div></td></tr>
248<tr><td class="h"><a name="90"></a>90</td><td></td><td></td><td></td><td></td><td class="s"> is =&gt; 'ro',</td></tr>
249<tr><td class="h"><a name="91"></a>91</td><td></td><td></td><td></td><td></td><td class="s"> isa =&gt; 'Str',</td></tr>
250<tr><td class="h"><a name="92"></a>92</td><td></td><td></td><td></td><td></td><td class="s"> required =&gt; 1,</td></tr>
251<tr><td class="h"><a name="93"></a>93</td><td></td><td></td><td></td><td></td><td class="s"> );</td></tr>
252<tr><td class="h"><a name="94"></a>94</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
253<tr><td class="h"><a name="95"></a>95</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c2">2.47ms</td><td class="s">has 'displayform' =&gt; (<div class="calls"><div class="calls_out"># spent 2.47ms making 1 call to <a href="Moose-pm-62-sub.html#70">Moose::has</a></div></div></td></tr>
254<tr><td class="h"><a name="96"></a>96</td><td></td><td></td><td></td><td></td><td class="s"> is =&gt; 'ro',</td></tr>
255<tr><td class="h"><a name="97"></a>97</td><td></td><td></td><td></td><td></td><td class="s"> isa =&gt; 'Str',</td></tr>
256<tr><td class="h"><a name="98"></a>98</td><td></td><td></td><td></td><td></td><td class="s"> predicate =&gt; 'has_displayform',</td></tr>
257<tr><td class="h"><a name="99"></a>99</td><td></td><td></td><td></td><td></td><td class="s"> );</td></tr>
258<tr><td class="h"><a name="100"></a>100</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
259<tr><td class="h"><a name="101"></a>101</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c3">1.86ms</td><td class="s">has 'scope' =&gt; (<div class="calls"><div class="calls_out"># spent 1.86ms making 1 call to <a href="Moose-pm-62-sub.html#70">Moose::has</a></div></div></td></tr>
260<tr><td class="h"><a name="102"></a>102</td><td></td><td></td><td></td><td></td><td class="s"> is =&gt; 'ro',</td></tr>
261<tr><td class="h"><a name="103"></a>103</td><td></td><td></td><td></td><td></td><td class="s"> isa =&gt; 'RelationshipScope', </td></tr>
262<tr><td class="h"><a name="104"></a>104</td><td></td><td></td><td></td><td></td><td class="s"> default =&gt; 'local',</td></tr>
263<tr><td class="h"><a name="105"></a>105</td><td></td><td></td><td></td><td></td><td class="s"> );</td></tr>
264<tr><td class="h"><a name="106"></a>106</td><td></td><td></td><td></td><td></td><td class="s"> </td></tr>
265<tr><td class="h"><a name="107"></a>107</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c2">2.48ms</td><td class="s">has 'annotation' =&gt; (<div class="calls"><div class="calls_out"># spent 2.48ms making 1 call to <a href="Moose-pm-62-sub.html#70">Moose::has</a></div></div></td></tr>
266<tr><td class="h"><a name="108"></a>108</td><td></td><td></td><td></td><td></td><td class="s"> is =&gt; 'ro',</td></tr>
267<tr><td class="h"><a name="109"></a>109</td><td></td><td></td><td></td><td></td><td class="s"> isa =&gt; 'Str',</td></tr>
268<tr><td class="h"><a name="110"></a>110</td><td></td><td></td><td></td><td></td><td class="s"> predicate =&gt; 'has_annotation',</td></tr>
269<tr><td class="h"><a name="111"></a>111</td><td></td><td></td><td></td><td></td><td class="s"> );</td></tr>
270<tr><td class="h"><a name="112"></a>112</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
271<tr><td class="h"><a name="113"></a>113</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c3">1.60ms</td><td class="s">has 'non_correctable' =&gt; (<div class="calls"><div class="calls_out"># spent 1.60ms making 1 call to <a href="Moose-pm-62-sub.html#70">Moose::has</a></div></div></td></tr>
272<tr><td class="h"><a name="114"></a>114</td><td></td><td></td><td></td><td></td><td class="s"> is =&gt; 'ro',</td></tr>
273<tr><td class="h"><a name="115"></a>115</td><td></td><td></td><td></td><td></td><td class="s"> isa =&gt; 'Bool',</td></tr>
274<tr><td class="h"><a name="116"></a>116</td><td></td><td></td><td></td><td></td><td class="s"> );</td></tr>
275<tr><td class="h"><a name="117"></a>117</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
276<tr><td class="h"><a name="118"></a>118</td><td class="c3">1</td><td class="c3"><span title="Avg 2&micro;s">2&micro;s</span></td><td class="c3">1</td><td class="c3">1.87ms</td><td class="s">has 'non_independent' =&gt; (<div class="calls"><div class="calls_out"># spent 1.87ms making 1 call to <a href="Moose-pm-62-sub.html#70">Moose::has</a></div></div></td></tr>
277<tr><td class="h"><a name="119"></a>119</td><td></td><td></td><td></td><td></td><td class="s"> is =&gt; 'ro',</td></tr>
278<tr><td class="h"><a name="120"></a>120</td><td></td><td></td><td></td><td></td><td class="s"> isa =&gt; 'Bool',</td></tr>
279<tr><td class="h"><a name="121"></a>121</td><td></td><td></td><td></td><td></td><td class="s"> );</td></tr>
280<tr><td class="h"><a name="122"></a>122</td><td></td><td></td><td></td><td></td><td class="s"> </td></tr>
281<tr><td class="h"><a name="123"></a>123</td><td></td><td></td><td></td><td></td><td class="s"># A read-only meta-Boolean attribute.</td></tr>
282<tr><td class="h"><a name="124"></a>124</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
283<tr><td class="h"><a name="125"></a>125</td><td></td><td></td><td></td><td></td><td class="s">=head2 colocated</td></tr>
284<tr><td class="h"><a name="126"></a>126</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
285<tr><td class="h"><a name="127"></a>127</td><td></td><td></td><td></td><td></td><td class="s">Returns true if the relationship type is one that requires that its readings</td></tr>
286<tr><td class="h"><a name="128"></a>128</td><td></td><td></td><td></td><td></td><td class="s">occupy the same place in the collation.</td></tr>
287<tr><td class="h"><a name="129"></a>129</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
288<tr><td class="h"><a name="130"></a>130</td><td></td><td></td><td></td><td></td><td class="s">=cut</td></tr>
289<tr><td class="h"><a name="131"></a>131</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
290<tr><td class="h"><a name="132"></a>132</td><td></td><td></td><td></td><td></td><td class="s"><div class="calls"><div class="calls_in"># spent 1.58ms (981&micro;s+603&micro;s) within Text::Tradition::Collation::Relationship::colocated which was called 118 times, avg 13&micro;s/call:
291# 59 times (531&micro;s+341&micro;s) by Text::Tradition::Collation::RelationshipStore::_set_relationship at <a href="lib-Text-Tradition-Collation-RelationshipStore-pm-811-sub.html#167">line 167 of lib/Text/Tradition/Collation/RelationshipStore.pm</a>, avg 15&micro;s/call
292# 59 times (450&micro;s+262&micro;s) by Text::Tradition::Collation::RelationshipStore::add_relationship at <a href="lib-Text-Tradition-Collation-RelationshipStore-pm-811-sub.html#425">line 425 of lib/Text/Tradition/Collation/RelationshipStore.pm</a>, avg 12&micro;s/call</div></div>sub colocated {</td></tr>
293<tr><td class="h"><a name="133"></a>133</td><td class="c0">236</td><td class="c0"><span title="Avg 5&micro;s">1.20ms</span></td><td></td><td></td><td class="s"> my $self = shift;</td></tr>
294<tr><td class="h"><a name="134"></a>134</td><td></td><td></td><td class="c0">236</td><td class="c3">603&micro;s</td><td class="s"> return $self-&gt;type !~ /^(repetition|transposition)$/;<div class="calls"><div class="calls_out"> # spent 317&micro;s making 118 calls to <a href="Class-MOP-Package-pm-122-sub.html#Text__Tradition__Collation__Relationship__CORE_match">Text::Tradition::Collation::Relationship::CORE:match</a>, avg 3&micro;s/call
295 # spent 286&micro;s making 118 calls to <a href="Class-MOP-Package-pm-122-sub.html#221">Text::Tradition::Collation::Relationship::type</a>, avg 2&micro;s/call</div></div></td></tr>
296<tr><td class="h"><a name="135"></a>135</td><td></td><td></td><td></td><td></td><td class="s">}</td></tr>
297<tr><td class="h"><a name="136"></a>136</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
298<tr><td class="h"><a name="137"></a>137</td><td></td><td></td><td></td><td></td><td class="s">=head2 nonlocal</td></tr>
299<tr><td class="h"><a name="138"></a>138</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
300<tr><td class="h"><a name="139"></a>139</td><td></td><td></td><td></td><td></td><td class="s">Returns true if the relationship scope is anything other than 'local'.</td></tr>
301<tr><td class="h"><a name="140"></a>140</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
302<tr><td class="h"><a name="141"></a>141</td><td></td><td></td><td></td><td></td><td class="s">=cut</td></tr>
303<tr><td class="h"><a name="142"></a>142</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
304<tr><td class="h"><a name="143"></a>143</td><td></td><td></td><td></td><td></td><td class="s"><div class="calls"><div class="calls_in"># spent 809&micro;s (546+262) within Text::Tradition::Collation::Relationship::nonlocal which was called 108 times, avg 7&micro;s/call:
305# 57 times (232&micro;s+104&micro;s) by Text::Tradition::Collation::RelationshipStore::add_relationship at <a href="lib-Text-Tradition-Collation-RelationshipStore-pm-811-sub.html#425">line 425 of lib/Text/Tradition/Collation/RelationshipStore.pm</a>, avg 6&micro;s/call
306# 51 times (314&micro;s+158&micro;s) by Text::Tradition::Collation::RelationshipStore::create at <a href="lib-Text-Tradition-Collation-RelationshipStore-pm-811-sub.html#205">line 205 of lib/Text/Tradition/Collation/RelationshipStore.pm</a>, avg 9&micro;s/call</div></div>sub nonlocal {</td></tr>
307<tr><td class="h"><a name="144"></a>144</td><td class="c0">216</td><td class="c0"><span title="Avg 2&micro;s">496&micro;s</span></td><td></td><td></td><td class="s"> my $self = shift;</td></tr>
308<tr><td class="h"><a name="145"></a>145</td><td></td><td></td><td class="c0">108</td><td class="c3">262&micro;s</td><td class="s"> return $self-&gt;scope ne 'local';<div class="calls"><div class="calls_out"> # spent 262&micro;s making 108 calls to <a href="Class-MOP-Package-pm-122-sub.html#221">Text::Tradition::Collation::Relationship::scope</a>, avg 2&micro;s/call</div></div></td></tr>
309<tr><td class="h"><a name="146"></a>146</td><td></td><td></td><td></td><td></td><td class="s">}</td></tr>
310<tr><td class="h"><a name="147"></a>147</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
311<tr><td class="h"><a name="148"></a>148</td><td class="c1">2</td><td class="c0"><span title="Avg 37&micro;s">74&micro;s</span></td><td class="c1">2</td><td class="c3">314&micro;s</td><td class="s"><div class="calls"><div class="calls_in"># spent 164&micro;s (13+150) within Text::Tradition::Collation::Relationship::BEGIN@148 which was called:
312# once (13&micro;s+150&micro;s) by Text::Tradition::Collation::RelationshipStore::BEGIN@6 at <a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#148">line 148</a></div></div>no Moose;<div class="calls"><div class="calls_out"># spent 164&micro;s making 1 call to <a href="lib-Text-Tradition-Collation-Relationship-pm-888-sub.html#148">Text::Tradition::Collation::Relationship::BEGIN@148</a>
313# spent 150&micro;s making 1 call to <a href="Moose-Exporter-pm-82-sub.html#670">Moose::Exporter::__ANON__[Moose/Exporter.pm:678]</a></div></div></td></tr>
314<tr><td class="h"><a name="149"></a>149</td><td class="c3">1</td><td class="c3"><span title="Avg 5&micro;s">5&micro;s</span></td><td class="c1">2</td><td class="c0">7.20ms</td><td class="s">__PACKAGE__-&gt;meta-&gt;make_immutable;<div class="calls"><div class="calls_out"># spent 7.19ms making 1 call to <a href="Class-MOP-Class-pm-103-sub.html#1280">Class::MOP::Class::make_immutable</a>
315# spent 15&micro;s making 1 call to <a href="Class-MOP-Package-pm-122-sub.html#221">Text::Tradition::Collation::Relationship::meta</a></div></div></td></tr>
316<tr><td class="h"><a name="150"></a>150</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
317<tr><td class="h"><a name="151"></a>151</td><td class="c3">1</td><td class="c0"><span title="Avg 68&micro;s">68&micro;s</span></td><td></td><td></td><td class="s">1;</td></tr>
318</tbody></table></div>
319
320 <script type="text/javascript"> $(document).ready(function() {
321
322 $("#subs_table").tablesorter({
323 sortList: [[3,1]],
324 headers: {
325 3: { sorter: 'fmt_time' },
326 4: { sorter: 'fmt_time' }
327 }
328 });
329
330 } ); </script>
331
332 <div class="footer">Report produced by the
333 <a href="http://search.cpan.org/dist/Devel-NYTProf/">NYTProf 4.06</a>
334 Perl profiler, developed by
335 <a href="http://www.linkedin.com/in/timbunce">Tim Bunce</a> and
336 <a href="http://code.nytimes.com">Adam Kaplan</a>.
337 </div>
338 <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
339 </body></html>