Documentation for db3d6e2886
119
annotated.html
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Data Structures</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
|
@ -104,60 +104,65 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
|
|||
<table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/d77/struct__big__int.html" target="_self">_big_int</a></td><td class="desc">Store arbitratily large integer values as a linked list of digits </td></tr>
|
||||
<tr id="row_1_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/dd7/struct__cantor__set.html" target="_self">_cantor_set</a></td><td class="desc">Structure to define Cantor set </td></tr>
|
||||
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/d5a/struct__large__num.html" target="_self">_large_num</a></td><td class="desc">Dynamically large number </td></tr>
|
||||
<tr id="row_3_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/daa/structadaline.html" target="_self">adaline</a></td><td class="desc">Structure to hold adaline model parameters </td></tr>
|
||||
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d22/structaffine__key__t.html" target="_self">affine_key_t</a></td><td class="desc">Structure representing an affine cipher key </td></tr>
|
||||
<tr id="row_5_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d66/struct_a_s_t_node.html" target="_self">ASTNode</a></td><td class="desc">For assert() </td></tr>
|
||||
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d71/struct_a_v_lnode.html" target="_self">AVLnode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_7_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d02/struct_b_s_t_iterator.html" target="_self">BSTIterator</a></td><td class="desc">Definition for a binary tree node </td></tr>
|
||||
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/da2/structbuffer.html" target="_self">buffer</a></td><td class="desc">Struct used to store character in certain times </td></tr>
|
||||
<tr id="row_9_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d2d/struct_c_array.html" target="_self">CArray</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d99/structcluster.html" target="_self">cluster</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_11_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d67/struct_d_array_stack.html" target="_self">DArrayStack</a></td><td class="desc">To verify assumptions made by the program and print a diagnostic message if this assumption is false </td></tr>
|
||||
<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/dea/structdata.html" target="_self">data</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_13_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/dfe/struct_dict.html" target="_self">Dict</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/dfd/structdual__quat__.html" target="_self">dual_quat_</a></td><td class="desc">Dual quaternion type </td></tr>
|
||||
<tr id="row_15_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/d42/structdynamic__array.html" target="_self">dynamic_array</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/db4/struct_edge.html" target="_self">Edge</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_17_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d6b/structelem.html" target="_self">elem</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_18_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d1e/structeuclidean__result.html" target="_self">euclidean_result</a></td><td class="desc">For tests </td></tr>
|
||||
<tr id="row_19_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/de8/structeuler__.html" target="_self">euler_</a></td><td class="desc">3D Euler or Tait-Bryan angles (in radian) </td></tr>
|
||||
<tr id="row_20_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d01/structgame__instance.html" target="_self">game_instance</a></td><td class="desc">For <a class="el" href="d8/daf/affine_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title="main function">main()</a> - tolower() for <a class="el" href="d8/daf/affine_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title="main function">main()</a>, new_word(), <a class="el" href="dc/dc5/hangman_8c.html#a9611b43141ac2e6ba245487c493599fc" title="checks if letter has been guessed before">new_guess()</a>, <a class="el" href="dc/dc5/hangman_8c.html#a669e745d87eb1740ab9b1f3b73bb7336" title="checks if player has won or lost">won()</a> - I/O operations for all functions - exit(), rand() and file functions for <a class="el" href="d8/daf/affine_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title="main function">main()</a> - for string operations strlen, strchr, strcpy for <a class="el" href="dc/dc5/hangman_8c.html#ad4130a1d1092d32dcfa4a46019e27d45" title="creates a new game - generates a random word and stores in global variable current_word">new_game()</a> - used with srand() for declaring new game instance </td></tr>
|
||||
<tr id="row_21_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/dd4/struct_graph.html" target="_self">Graph</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_22_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d6a/struct_graph_rep.html" target="_self">GraphRep</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_23_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/df1/structhash__set__t.html" target="_self">hash_set_t</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_24_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/db8/structkohonen__array__3d.html" target="_self">kohonen_array_3d</a></td><td class="desc">To store info regarding 3D arrays </td></tr>
|
||||
<tr id="row_25_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/db3/struct_l.html" target="_self">L</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_26_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d10/structlist.html" target="_self">list</a></td><td class="desc">Doubly linked list struct </td></tr>
|
||||
<tr id="row_27_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d7d/struct_list_item.html" target="_self">ListItem</a></td><td class="desc">Definition for a binary tree node </td></tr>
|
||||
<tr id="row_28_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d8b/structmat__3x3__.html" target="_self">mat_3x3_</a></td><td class="desc">A 3x3 Matrix type definition </td></tr>
|
||||
<tr id="row_29_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d8a/structmax__heap.html" target="_self">max_heap</a></td><td class="desc">For INT_MIN </td></tr>
|
||||
<tr id="row_30_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d73/struct_m_e_m_o_r_y___i_n_f_o_r_m_a_t_i_o_n.html" target="_self">MEMORY_INFORMATION</a></td><td class="desc">For the malloc, calloc and free functions </td></tr>
|
||||
<tr id="row_31_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="de/dce/structmin__heap.html" target="_self">min_heap</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_32_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/dd7/struct_n_f_a.html" target="_self">NFA</a></td><td class="desc">Definition for the <a class="el" href="d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> itself </td></tr>
|
||||
<tr id="row_33_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d97/struct_n_f_a_state.html" target="_self">NFAState</a></td><td class="desc">Definition for a <a class="el" href="d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> state </td></tr>
|
||||
<tr id="row_34_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d8b/struct_node.html" target="_self">Node</a></td><td class="desc"><a class="el" href="db/d8b/struct_node.html" title="Node, the basic data structure of the tree.">Node</a>, the basic data structure of the tree </td></tr>
|
||||
<tr id="row_35_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/da1/structnode.html" target="_self">node</a></td><td class="desc"><a class="el" href="db/d8b/struct_node.html" title="Node, the basic data structure of the tree.">Node</a>, the basic data structure in the tree </td></tr>
|
||||
<tr id="row_36_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d3a/struct_node_distribute_info.html" target="_self">NodeDistributeInfo</a></td><td class="desc">Definition for a binary tree node </td></tr>
|
||||
<tr id="row_37_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d5e/structobservation.html" target="_self">observation</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_38_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d43/structpid.html" target="_self">pid</a></td><td class="desc">PID Controller </td></tr>
|
||||
<tr id="row_39_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="de/d58/structquaternion__.html" target="_self">quaternion_</a></td><td class="desc">Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\) </td></tr>
|
||||
<tr id="row_40_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d36/structqueue.html" target="_self">queue</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_41_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d10/struct_queue_rep.html" target="_self">QueueRep</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_42_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d06/structsegment__tree.html" target="_self">segment_tree</a></td><td class="desc">This structures holds all the data that is required by a segment tree </td></tr>
|
||||
<tr id="row_43_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d11/structstack.html" target="_self">stack</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_44_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d10/struct_stack.html" target="_self">Stack</a></td><td class="desc">For printf() and scanf() </td></tr>
|
||||
<tr id="row_45_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/dac/struct_stock_spanner.html" target="_self">StockSpanner</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_46_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/de5/structsubset.html" target="_self">subset</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_47_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/d18/structsudoku.html" target="_self">sudoku</a></td><td class="desc">Structure to hold the matrix and dimensions </td></tr>
|
||||
<tr id="row_48_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d7e/struct_t.html" target="_self">T</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_49_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/d86/structterm.html" target="_self">term</a></td><td class="desc">Identifier for single-variable polynomial coefficients as a linked list </td></tr>
|
||||
<tr id="row_50_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d7a/structtnode.html" target="_self">tnode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_51_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/dd9/structtrans_rule.html" target="_self">transRule</a></td><td class="desc">Definition for a <a class="el" href="d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> state transition rule </td></tr>
|
||||
<tr id="row_52_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/dd9/structtrie.html" target="_self">trie</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_53_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/db4/structvec__3d__.html" target="_self">vec_3d_</a></td><td class="desc">3D vector type </td></tr>
|
||||
<tr id="row_54_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d06/struct_vector.html" target="_self">Vector</a></td><td class="desc">For IO operations </td></tr>
|
||||
<tr id="row_55_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/ddb/structword__count__word.html" target="_self">word_count_word</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d18/struct___c_l_i_e_n_t___i_d.html" target="_self">_CLIENT_ID</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_3_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/d5a/struct__large__num.html" target="_self">_large_num</a></td><td class="desc">Dynamically large number </td></tr>
|
||||
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html" target="_self">_OBJECT_ATTRIBUTES</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_5_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html" target="_self">_SYSTEM_HANDLE_INFORMATION</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html" target="_self">_THREAD_BASIC_INFORMATION</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_7_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d03/struct___u_s_e_r___s_t_a_c_k.html" target="_self">_USER_STACK</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/daa/structadaline.html" target="_self">adaline</a></td><td class="desc">Structure to hold adaline model parameters </td></tr>
|
||||
<tr id="row_9_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d22/structaffine__key__t.html" target="_self">affine_key_t</a></td><td class="desc">Structure representing an affine cipher key </td></tr>
|
||||
<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d66/struct_a_s_t_node.html" target="_self">ASTNode</a></td><td class="desc">For assert() </td></tr>
|
||||
<tr id="row_11_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d71/struct_a_v_lnode.html" target="_self">AVLnode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d02/struct_b_s_t_iterator.html" target="_self">BSTIterator</a></td><td class="desc">Definition for a binary tree node </td></tr>
|
||||
<tr id="row_13_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/da2/structbuffer.html" target="_self">buffer</a></td><td class="desc">Struct used to store character in certain times </td></tr>
|
||||
<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d2d/struct_c_array.html" target="_self">CArray</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_15_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d99/structcluster.html" target="_self">cluster</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d67/struct_d_array_stack.html" target="_self">DArrayStack</a></td><td class="desc">To verify assumptions made by the program and print a diagnostic message if this assumption is false </td></tr>
|
||||
<tr id="row_17_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/dea/structdata.html" target="_self">data</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_18_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/dfe/struct_dict.html" target="_self">Dict</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_19_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/dfd/structdual__quat__.html" target="_self">dual_quat_</a></td><td class="desc">Dual quaternion type </td></tr>
|
||||
<tr id="row_20_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/d42/structdynamic__array.html" target="_self">dynamic_array</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_21_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/db4/struct_edge.html" target="_self">Edge</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_22_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d6b/structelem.html" target="_self">elem</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_23_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d1e/structeuclidean__result.html" target="_self">euclidean_result</a></td><td class="desc">For tests </td></tr>
|
||||
<tr id="row_24_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/de8/structeuler__.html" target="_self">euler_</a></td><td class="desc">3D Euler or Tait-Bryan angles (in radian) </td></tr>
|
||||
<tr id="row_25_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d01/structgame__instance.html" target="_self">game_instance</a></td><td class="desc">For <a class="el" href="d8/daf/affine_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title="main function">main()</a> - tolower() for <a class="el" href="d8/daf/affine_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title="main function">main()</a>, new_word(), <a class="el" href="dc/dc5/hangman_8c.html#a9611b43141ac2e6ba245487c493599fc" title="checks if letter has been guessed before">new_guess()</a>, <a class="el" href="dc/dc5/hangman_8c.html#a669e745d87eb1740ab9b1f3b73bb7336" title="checks if player has won or lost">won()</a> - I/O operations for all functions - exit(), rand() and file functions for <a class="el" href="d8/daf/affine_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title="main function">main()</a> - for string operations strlen, strchr, strcpy for <a class="el" href="dc/dc5/hangman_8c.html#ad4130a1d1092d32dcfa4a46019e27d45" title="creates a new game - generates a random word and stores in global variable current_word">new_game()</a> - used with srand() for declaring new game instance </td></tr>
|
||||
<tr id="row_26_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/dd4/struct_graph.html" target="_self">Graph</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_27_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d6a/struct_graph_rep.html" target="_self">GraphRep</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_28_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/df1/structhash__set__t.html" target="_self">hash_set_t</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_29_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/db8/structkohonen__array__3d.html" target="_self">kohonen_array_3d</a></td><td class="desc">To store info regarding 3D arrays </td></tr>
|
||||
<tr id="row_30_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/db3/struct_l.html" target="_self">L</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_31_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d10/structlist.html" target="_self">list</a></td><td class="desc">Doubly linked list struct </td></tr>
|
||||
<tr id="row_32_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d7d/struct_list_item.html" target="_self">ListItem</a></td><td class="desc">Definition for a binary tree node </td></tr>
|
||||
<tr id="row_33_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d8b/structmat__3x3__.html" target="_self">mat_3x3_</a></td><td class="desc">A 3x3 Matrix type definition </td></tr>
|
||||
<tr id="row_34_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d8a/structmax__heap.html" target="_self">max_heap</a></td><td class="desc">For INT_MIN </td></tr>
|
||||
<tr id="row_35_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d73/struct_m_e_m_o_r_y___i_n_f_o_r_m_a_t_i_o_n.html" target="_self">MEMORY_INFORMATION</a></td><td class="desc">For the malloc, calloc and free functions </td></tr>
|
||||
<tr id="row_36_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="de/dce/structmin__heap.html" target="_self">min_heap</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_37_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/dd7/struct_n_f_a.html" target="_self">NFA</a></td><td class="desc">Definition for the <a class="el" href="d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> itself </td></tr>
|
||||
<tr id="row_38_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d97/struct_n_f_a_state.html" target="_self">NFAState</a></td><td class="desc">Definition for a <a class="el" href="d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> state </td></tr>
|
||||
<tr id="row_39_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/da1/structnode.html" target="_self">node</a></td><td class="desc"><a class="el" href="db/d8b/struct_node.html" title="Node, the basic data structure of the tree.">Node</a>, the basic data structure in the tree </td></tr>
|
||||
<tr id="row_40_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d8b/struct_node.html" target="_self">Node</a></td><td class="desc"><a class="el" href="db/d8b/struct_node.html" title="Node, the basic data structure of the tree.">Node</a>, the basic data structure of the tree </td></tr>
|
||||
<tr id="row_41_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d3a/struct_node_distribute_info.html" target="_self">NodeDistributeInfo</a></td><td class="desc">Definition for a binary tree node </td></tr>
|
||||
<tr id="row_42_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d5e/structobservation.html" target="_self">observation</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_43_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d43/structpid.html" target="_self">pid</a></td><td class="desc">PID Controller </td></tr>
|
||||
<tr id="row_44_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="de/d58/structquaternion__.html" target="_self">quaternion_</a></td><td class="desc">Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\) </td></tr>
|
||||
<tr id="row_45_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d36/structqueue.html" target="_self">queue</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_46_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d10/struct_queue_rep.html" target="_self">QueueRep</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_47_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d06/structsegment__tree.html" target="_self">segment_tree</a></td><td class="desc">This structures holds all the data that is required by a segment tree </td></tr>
|
||||
<tr id="row_48_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d10/struct_stack.html" target="_self">Stack</a></td><td class="desc">For printf() and scanf() </td></tr>
|
||||
<tr id="row_49_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d11/structstack.html" target="_self">stack</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_50_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/dac/struct_stock_spanner.html" target="_self">StockSpanner</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_51_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/de5/structsubset.html" target="_self">subset</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_52_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/d18/structsudoku.html" target="_self">sudoku</a></td><td class="desc">Structure to hold the matrix and dimensions </td></tr>
|
||||
<tr id="row_53_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d7e/struct_t.html" target="_self">T</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_54_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/d86/structterm.html" target="_self">term</a></td><td class="desc">Identifier for single-variable polynomial coefficients as a linked list </td></tr>
|
||||
<tr id="row_55_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d7a/structtnode.html" target="_self">tnode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_56_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/dd9/structtrans_rule.html" target="_self">transRule</a></td><td class="desc">Definition for a <a class="el" href="d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> state transition rule </td></tr>
|
||||
<tr id="row_57_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/dd9/structtrie.html" target="_self">trie</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_58_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/db4/structvec__3d__.html" target="_self">vec_3d_</a></td><td class="desc">3D vector type </td></tr>
|
||||
<tr id="row_59_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d06/struct_vector.html" target="_self">Vector</a></td><td class="desc">For IO operations </td></tr>
|
||||
<tr id="row_60_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/ddb/structword__count__word.html" target="_self">word_count_word</a></td><td class="desc"></td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
|
@ -165,7 +170,7 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -2,7 +2,12 @@ var annotated_dup =
|
|||
[
|
||||
[ "_big_int", "dc/d77/struct__big__int.html", "dc/d77/struct__big__int" ],
|
||||
[ "_cantor_set", "d9/dd7/struct__cantor__set.html", "d9/dd7/struct__cantor__set" ],
|
||||
[ "_CLIENT_ID", "d5/d18/struct___c_l_i_e_n_t___i_d.html", null ],
|
||||
[ "_large_num", "d3/d5a/struct__large__num.html", "d3/d5a/struct__large__num" ],
|
||||
[ "_OBJECT_ATTRIBUTES", "db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html", null ],
|
||||
[ "_SYSTEM_HANDLE_INFORMATION", "d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html", null ],
|
||||
[ "_THREAD_BASIC_INFORMATION", "df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html", null ],
|
||||
[ "_USER_STACK", "dd/d03/struct___u_s_e_r___s_t_a_c_k.html", null ],
|
||||
[ "adaline", "d2/daa/structadaline.html", "d2/daa/structadaline" ],
|
||||
[ "affine_key_t", "dd/d22/structaffine__key__t.html", "dd/d22/structaffine__key__t" ],
|
||||
[ "ASTNode", "d8/d66/struct_a_s_t_node.html", "d8/d66/struct_a_s_t_node" ],
|
||||
|
@ -34,8 +39,8 @@ var annotated_dup =
|
|||
[ "min_heap", "de/dce/structmin__heap.html", null ],
|
||||
[ "NFA", "d3/dd7/struct_n_f_a.html", "d3/dd7/struct_n_f_a" ],
|
||||
[ "NFAState", "d4/d97/struct_n_f_a_state.html", "d4/d97/struct_n_f_a_state" ],
|
||||
[ "Node", "db/d8b/struct_node.html", "db/d8b/struct_node" ],
|
||||
[ "node", "d5/da1/structnode.html", "d5/da1/structnode" ],
|
||||
[ "Node", "db/d8b/struct_node.html", "db/d8b/struct_node" ],
|
||||
[ "NodeDistributeInfo", "d0/d3a/struct_node_distribute_info.html", null ],
|
||||
[ "observation", "d1/d5e/structobservation.html", "d1/d5e/structobservation" ],
|
||||
[ "pid", "d0/d43/structpid.html", null ],
|
||||
|
@ -43,8 +48,8 @@ var annotated_dup =
|
|||
[ "queue", "d2/d36/structqueue.html", null ],
|
||||
[ "QueueRep", "d0/d10/struct_queue_rep.html", null ],
|
||||
[ "segment_tree", "dd/d06/structsegment__tree.html", "dd/d06/structsegment__tree" ],
|
||||
[ "stack", "d4/d11/structstack.html", null ],
|
||||
[ "Stack", "dd/d10/struct_stack.html", "dd/d10/struct_stack" ],
|
||||
[ "stack", "d4/d11/structstack.html", null ],
|
||||
[ "StockSpanner", "d1/dac/struct_stock_spanner.html", null ],
|
||||
[ "subset", "dc/de5/structsubset.html", null ],
|
||||
[ "sudoku", "dc/d18/structsudoku.html", "dc/d18/structsudoku" ],
|
||||
|
|
12
classes.html
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Data Structure Index</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
|
@ -134,7 +134,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
|
|||
<dd><a class="el" href="d9/d8b/structmat__3x3__.html">mat_3x3_</a></dd><dd><a class="el" href="d0/d8a/structmax__heap.html">max_heap</a></dd><dd><a class="el" href="d4/d73/struct_m_e_m_o_r_y___i_n_f_o_r_m_a_t_i_o_n.html">MEMORY_INFORMATION</a></dd><dd><a class="el" href="de/dce/structmin__heap.html">min_heap</a></dd></dl>
|
||||
<dl class="classindex even">
|
||||
<dt class="alphachar"><a id="letter_N" name="letter_N">N</a></dt>
|
||||
<dd><a class="el" href="d3/dd7/struct_n_f_a.html">NFA</a></dd><dd><a class="el" href="d4/d97/struct_n_f_a_state.html">NFAState</a></dd><dd><a class="el" href="db/d8b/struct_node.html">Node</a></dd><dd><a class="el" href="d5/da1/structnode.html">node</a></dd><dd><a class="el" href="d0/d3a/struct_node_distribute_info.html">NodeDistributeInfo</a></dd></dl>
|
||||
<dd><a class="el" href="d3/dd7/struct_n_f_a.html">NFA</a></dd><dd><a class="el" href="d4/d97/struct_n_f_a_state.html">NFAState</a></dd><dd><a class="el" href="d5/da1/structnode.html">node</a></dd><dd><a class="el" href="db/d8b/struct_node.html">Node</a></dd><dd><a class="el" href="d0/d3a/struct_node_distribute_info.html">NodeDistributeInfo</a></dd></dl>
|
||||
<dl class="classindex odd">
|
||||
<dt class="alphachar"><a id="letter_O" name="letter_O">O</a></dt>
|
||||
<dd><a class="el" href="d1/d5e/structobservation.html">observation</a></dd></dl>
|
||||
|
@ -146,7 +146,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
|
|||
<dd><a class="el" href="de/d58/structquaternion__.html">quaternion_</a></dd><dd><a class="el" href="d2/d36/structqueue.html">queue</a></dd><dd><a class="el" href="d0/d10/struct_queue_rep.html">QueueRep</a></dd></dl>
|
||||
<dl class="classindex even">
|
||||
<dt class="alphachar"><a id="letter_S" name="letter_S">S</a></dt>
|
||||
<dd><a class="el" href="dd/d06/structsegment__tree.html">segment_tree</a></dd><dd><a class="el" href="d4/d11/structstack.html">stack</a></dd><dd><a class="el" href="dd/d10/struct_stack.html">Stack</a></dd><dd><a class="el" href="d1/dac/struct_stock_spanner.html">StockSpanner</a></dd><dd><a class="el" href="dc/de5/structsubset.html">subset</a></dd><dd><a class="el" href="dc/d18/structsudoku.html">sudoku</a></dd></dl>
|
||||
<dd><a class="el" href="dd/d06/structsegment__tree.html">segment_tree</a></dd><dd><a class="el" href="dd/d10/struct_stack.html">Stack</a></dd><dd><a class="el" href="d4/d11/structstack.html">stack</a></dd><dd><a class="el" href="d1/dac/struct_stock_spanner.html">StockSpanner</a></dd><dd><a class="el" href="dc/de5/structsubset.html">subset</a></dd><dd><a class="el" href="dc/d18/structsudoku.html">sudoku</a></dd></dl>
|
||||
<dl class="classindex odd">
|
||||
<dt class="alphachar"><a id="letter_T" name="letter_T">T</a></dt>
|
||||
<dd><a class="el" href="d5/d7e/struct_t.html">T</a></dd><dd><a class="el" href="df/d86/structterm.html">term</a></dd><dd><a class="el" href="d8/d7a/structtnode.html">tnode</a></dd><dd><a class="el" href="d9/dd9/structtrans_rule.html">transRule</a></dd><dd><a class="el" href="d4/dd9/structtrie.html">trie</a></dd></dl>
|
||||
|
@ -158,14 +158,14 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
|
|||
<dd><a class="el" href="df/ddb/structword__count__word.html">word_count_word</a></dd></dl>
|
||||
<dl class="classindex even">
|
||||
<dt class="alphachar"><a id="letter__" name="letter__">_</a></dt>
|
||||
<dd><a class="el" href="dc/d77/struct__big__int.html">_big_int</a></dd><dd><a class="el" href="d9/dd7/struct__cantor__set.html">_cantor_set</a></dd><dd><a class="el" href="d3/d5a/struct__large__num.html">_large_num</a></dd></dl>
|
||||
<dd><a class="el" href="dc/d77/struct__big__int.html">_big_int</a></dd><dd><a class="el" href="d9/dd7/struct__cantor__set.html">_cantor_set</a></dd><dd><a class="el" href="d5/d18/struct___c_l_i_e_n_t___i_d.html">_CLIENT_ID</a></dd><dd><a class="el" href="d3/d5a/struct__large__num.html">_large_num</a></dd><dd><a class="el" href="db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html">_OBJECT_ATTRIBUTES</a></dd><dd><a class="el" href="d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html">_SYSTEM_HANDLE_INFORMATION</a></dd><dd><a class="el" href="df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html">_THREAD_BASIC_INFORMATION</a></dd><dd><a class="el" href="dd/d03/struct___u_s_e_r___s_t_a_c_k.html">_USER_STACK</a></dd></dl>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: QueueRep Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,18 +110,18 @@ Collaboration diagram for QueueRep:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:aad9e10b8e2e0a821d374a154240e22c6"><td class="memItemLeft" align="right" valign="top"><a id="aad9e10b8e2e0a821d374a154240e22c6" name="aad9e10b8e2e0a821d374a154240e22c6"></a>
|
||||
<tr class="memitem:aad9e10b8e2e0a821d374a154240e22c6" id="r_aad9e10b8e2e0a821d374a154240e22c6"><td class="memItemLeft" align="right" valign="top"><a id="aad9e10b8e2e0a821d374a154240e22c6" name="aad9e10b8e2e0a821d374a154240e22c6"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>length</b></td></tr>
|
||||
<tr class="separator:aad9e10b8e2e0a821d374a154240e22c6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad4f9f3b0f81ea8c768d4c45548a590de"><td class="memItemLeft" align="right" valign="top"><a id="ad4f9f3b0f81ea8c768d4c45548a590de" name="ad4f9f3b0f81ea8c768d4c45548a590de"></a>
|
||||
<tr class="memitem:ad4f9f3b0f81ea8c768d4c45548a590de" id="r_ad4f9f3b0f81ea8c768d4c45548a590de"><td class="memItemLeft" align="right" valign="top"><a id="ad4f9f3b0f81ea8c768d4c45548a590de" name="ad4f9f3b0f81ea8c768d4c45548a590de"></a>
|
||||
<a class="el" href="../../d5/da1/structnode.html">NodeT</a> * </td><td class="memItemRight" valign="bottom"><b>head</b></td></tr>
|
||||
<tr class="separator:ad4f9f3b0f81ea8c768d4c45548a590de"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5ca79e0a97550d8938331d90ce585a35"><td class="memItemLeft" align="right" valign="top"><a id="a5ca79e0a97550d8938331d90ce585a35" name="a5ca79e0a97550d8938331d90ce585a35"></a>
|
||||
<tr class="memitem:a5ca79e0a97550d8938331d90ce585a35" id="r_a5ca79e0a97550d8938331d90ce585a35"><td class="memItemLeft" align="right" valign="top"><a id="a5ca79e0a97550d8938331d90ce585a35" name="a5ca79e0a97550d8938331d90ce585a35"></a>
|
||||
<a class="el" href="../../d5/da1/structnode.html">NodeT</a> * </td><td class="memItemRight" valign="bottom"><b>tail</b></td></tr>
|
||||
<tr class="separator:a5ca79e0a97550d8938331d90ce585a35"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>data_structures/graphs/queue.c</li>
|
||||
<li>data_structures/graphs/<b>queue.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -129,7 +129,7 @@ int </td><td class="memItemRight" valign="bottom"><b>length</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d0/d10/struct_queue_rep.html">QueueRep</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: NodeDistributeInfo Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,10 +108,10 @@ $(document).ready(function(){initNavTree('d0/d3a/struct_node_distribute_info.htm
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a120e7938e93b96e5fb986d25504f2a56"><td class="memItemLeft" align="right" valign="top"><a id="a120e7938e93b96e5fb986d25504f2a56" name="a120e7938e93b96e5fb986d25504f2a56"></a>
|
||||
<tr class="memitem:a120e7938e93b96e5fb986d25504f2a56" id="r_a120e7938e93b96e5fb986d25504f2a56"><td class="memItemLeft" align="right" valign="top"><a id="a120e7938e93b96e5fb986d25504f2a56" name="a120e7938e93b96e5fb986d25504f2a56"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>distributeMoves</b></td></tr>
|
||||
<tr class="separator:a120e7938e93b96e5fb986d25504f2a56"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab268c32141d1dc0775571595dd6ab477"><td class="memItemLeft" align="right" valign="top"><a id="ab268c32141d1dc0775571595dd6ab477" name="ab268c32141d1dc0775571595dd6ab477"></a>
|
||||
<tr class="memitem:ab268c32141d1dc0775571595dd6ab477" id="r_ab268c32141d1dc0775571595dd6ab477"><td class="memItemLeft" align="right" valign="top"><a id="ab268c32141d1dc0775571595dd6ab477" name="ab268c32141d1dc0775571595dd6ab477"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>distributeExcess</b></td></tr>
|
||||
<tr class="separator:ab268c32141d1dc0775571595dd6ab477"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -119,7 +119,7 @@ int </td><td class="memItemRight" valign="bottom"><b>distributeExcess</b></
|
|||
<div class="textblock"><p>Definition for a binary tree node. </p>
|
||||
<p>struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; }; </p>
|
||||
</div><hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>leetcode/src/979.c</li>
|
||||
<li>leetcode/src/<b>979.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -127,7 +127,7 @@ int </td><td class="memItemRight" valign="bottom"><b>distributeExcess</b></
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d0/d3a/struct_node_distribute_info.html">NodeDistributeInfo</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: pid Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,19 +108,19 @@ $(document).ready(function(){initNavTree('d0/d43/structpid.html','../../'); init
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a5a7b54866748e12568f9b9599b31f8eb"><td class="memItemLeft" align="right" valign="top"><a id="a5a7b54866748e12568f9b9599b31f8eb" name="a5a7b54866748e12568f9b9599b31f8eb"></a>
|
||||
<tr class="memitem:a5a7b54866748e12568f9b9599b31f8eb" id="r_a5a7b54866748e12568f9b9599b31f8eb"><td class="memItemLeft" align="right" valign="top"><a id="a5a7b54866748e12568f9b9599b31f8eb" name="a5a7b54866748e12568f9b9599b31f8eb"></a>
|
||||
float </td><td class="memItemRight" valign="bottom"><b>kP</b></td></tr>
|
||||
<tr class="separator:a5a7b54866748e12568f9b9599b31f8eb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a65e8bc146e02bad2702a0286d37b81bc"><td class="memItemLeft" align="right" valign="top"><a id="a65e8bc146e02bad2702a0286d37b81bc" name="a65e8bc146e02bad2702a0286d37b81bc"></a>
|
||||
<tr class="memitem:a65e8bc146e02bad2702a0286d37b81bc" id="r_a65e8bc146e02bad2702a0286d37b81bc"><td class="memItemLeft" align="right" valign="top"><a id="a65e8bc146e02bad2702a0286d37b81bc" name="a65e8bc146e02bad2702a0286d37b81bc"></a>
|
||||
float </td><td class="memItemRight" valign="bottom"><b>kI</b></td></tr>
|
||||
<tr class="separator:a65e8bc146e02bad2702a0286d37b81bc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6c721a7983511fb9f91777ae45481473"><td class="memItemLeft" align="right" valign="top"><a id="a6c721a7983511fb9f91777ae45481473" name="a6c721a7983511fb9f91777ae45481473"></a>
|
||||
<tr class="memitem:a6c721a7983511fb9f91777ae45481473" id="r_a6c721a7983511fb9f91777ae45481473"><td class="memItemLeft" align="right" valign="top"><a id="a6c721a7983511fb9f91777ae45481473" name="a6c721a7983511fb9f91777ae45481473"></a>
|
||||
float </td><td class="memItemRight" valign="bottom"><b>kD</b></td></tr>
|
||||
<tr class="separator:a6c721a7983511fb9f91777ae45481473"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad661092f21ab1e0e6aa35fbcfcf6f161"><td class="memItemLeft" align="right" valign="top"><a id="ad661092f21ab1e0e6aa35fbcfcf6f161" name="ad661092f21ab1e0e6aa35fbcfcf6f161"></a>
|
||||
<tr class="memitem:ad661092f21ab1e0e6aa35fbcfcf6f161" id="r_ad661092f21ab1e0e6aa35fbcfcf6f161"><td class="memItemLeft" align="right" valign="top"><a id="ad661092f21ab1e0e6aa35fbcfcf6f161" name="ad661092f21ab1e0e6aa35fbcfcf6f161"></a>
|
||||
float </td><td class="memItemRight" valign="bottom"><b>lastError</b></td></tr>
|
||||
<tr class="separator:ad661092f21ab1e0e6aa35fbcfcf6f161"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3c54185f7b4867281786eff640443a00"><td class="memItemLeft" align="right" valign="top"><a id="a3c54185f7b4867281786eff640443a00" name="a3c54185f7b4867281786eff640443a00"></a>
|
||||
<tr class="memitem:a3c54185f7b4867281786eff640443a00" id="r_a3c54185f7b4867281786eff640443a00"><td class="memItemLeft" align="right" valign="top"><a id="a3c54185f7b4867281786eff640443a00" name="a3c54185f7b4867281786eff640443a00"></a>
|
||||
float </td><td class="memItemRight" valign="bottom"><b>integral</b></td></tr>
|
||||
<tr class="separator:a3c54185f7b4867281786eff640443a00"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -138,7 +138,7 @@ float </td><td class="memItemRight" valign="bottom"><b>integral</b></td></t
|
|||
</ul>
|
||||
<p>Inputs: e(t) - Current error at time t. For example, how far a servo is off the desired angle Output: u(t) - Controller output at time t. </p>
|
||||
</div><hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>misc/pid.c</li>
|
||||
<li>misc/<b>pid.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -146,7 +146,7 @@ float </td><td class="memItemRight" valign="bottom"><b>integral</b></td></t
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d0/d43/structpid.html">pid</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: machine_learning/kohonen_som_trace.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,58 +118,58 @@ Include dependency graph for kohonen_som_trace.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a525335710b53cb064ca56b936120431e"><td class="memItemLeft" align="right" valign="top"><a id="a525335710b53cb064ca56b936120431e" name="a525335710b53cb064ca56b936120431e"></a>
|
||||
<tr class="memitem:a525335710b53cb064ca56b936120431e" id="r_a525335710b53cb064ca56b936120431e"><td class="memItemLeft" align="right" valign="top"><a id="a525335710b53cb064ca56b936120431e" name="a525335710b53cb064ca56b936120431e"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>_USE_MATH_DEFINES</b></td></tr>
|
||||
<tr class="memdesc:a525335710b53cb064ca56b936120431e"><td class="mdescLeft"> </td><td class="mdescRight">required for MS Visual C <br /></td></tr>
|
||||
<tr class="separator:a525335710b53cb064ca56b936120431e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaffe776513b24d84b39af8ab0930fef7f"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:gaffe776513b24d84b39af8ab0930fef7f" id="r_gaffe776513b24d84b39af8ab0930fef7f"><td class="memItemLeft" align="right" valign="top">
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>max</b>(a, b)   (((a) > (b)) ? (a) : (b))</td></tr>
|
||||
<tr class="memdesc:gaffe776513b24d84b39af8ab0930fef7f"><td class="mdescLeft"> </td><td class="mdescRight">shorthand for maximum value <br /></td></tr>
|
||||
<tr class="separator:gaffe776513b24d84b39af8ab0930fef7f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gac6afabdc09a49a433ee19d8a9486056d"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:gac6afabdc09a49a433ee19d8a9486056d" id="r_gac6afabdc09a49a433ee19d8a9486056d"><td class="memItemLeft" align="right" valign="top">
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>min</b>(a, b)   (((a) < (b)) ? (a) : (b))</td></tr>
|
||||
<tr class="memdesc:gac6afabdc09a49a433ee19d8a9486056d"><td class="mdescLeft"> </td><td class="mdescRight">shorthand for minimum value <br /></td></tr>
|
||||
<tr class="separator:gac6afabdc09a49a433ee19d8a9486056d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:gaf5ce14f026d6d231bef29161bac2b485"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a> (double a, double b)</td></tr>
|
||||
<tr class="memitem:gaf5ce14f026d6d231bef29161bac2b485" id="r_gaf5ce14f026d6d231bef29161bac2b485"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a> (double a, double b)</td></tr>
|
||||
<tr class="memdesc:gaf5ce14f026d6d231bef29161bac2b485"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to generate a random number in a given interval. <br /></td></tr>
|
||||
<tr class="separator:gaf5ce14f026d6d231bef29161bac2b485"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga7b84b14e60f47812b581d1f93057c85a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#ga7b84b14e60f47812b581d1f93057c85a">save_nd_data</a> (const char *fname, double **X, int num_points, int num_features)</td></tr>
|
||||
<tr class="memitem:ga7b84b14e60f47812b581d1f93057c85a" id="r_ga7b84b14e60f47812b581d1f93057c85a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#ga7b84b14e60f47812b581d1f93057c85a">save_nd_data</a> (const char *fname, double **X, int num_points, int num_features)</td></tr>
|
||||
<tr class="memdesc:ga7b84b14e60f47812b581d1f93057c85a"><td class="mdescLeft"> </td><td class="mdescRight">Save a given n-dimensional data martix to file. <br /></td></tr>
|
||||
<tr class="separator:ga7b84b14e60f47812b581d1f93057c85a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga4a57a413a3cef286a7da6d4666575586"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#ga4a57a413a3cef286a7da6d4666575586">kohonen_get_min_1d</a> (double const *X, int N, double *val, int *idx)</td></tr>
|
||||
<tr class="memitem:ga4a57a413a3cef286a7da6d4666575586" id="r_ga4a57a413a3cef286a7da6d4666575586"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#ga4a57a413a3cef286a7da6d4666575586">kohonen_get_min_1d</a> (double const *X, int N, double *val, int *idx)</td></tr>
|
||||
<tr class="memdesc:ga4a57a413a3cef286a7da6d4666575586"><td class="mdescLeft"> </td><td class="mdescRight">Get minimum value and index of the value in a vector. <br /></td></tr>
|
||||
<tr class="separator:ga4a57a413a3cef286a7da6d4666575586"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae334493a0917a24736fe5ba82aa6f81f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gae334493a0917a24736fe5ba82aa6f81f">kohonen_update_weights</a> (double const *x, double *const *W, double *D, int num_out, int num_features, double alpha, int R)</td></tr>
|
||||
<tr class="memitem:gae334493a0917a24736fe5ba82aa6f81f" id="r_gae334493a0917a24736fe5ba82aa6f81f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gae334493a0917a24736fe5ba82aa6f81f">kohonen_update_weights</a> (double const *x, double *const *W, double *D, int num_out, int num_features, double alpha, int R)</td></tr>
|
||||
<tr class="memdesc:gae334493a0917a24736fe5ba82aa6f81f"><td class="mdescLeft"> </td><td class="mdescRight">Update weights of the SOM using Kohonen algorithm. <br /></td></tr>
|
||||
<tr class="separator:gae334493a0917a24736fe5ba82aa6f81f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaeaeffbff2be4d5d15b0d4f10f846abde"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gaeaeffbff2be4d5d15b0d4f10f846abde">kohonen_som_tracer</a> (double **X, double *const *W, int num_samples, int num_features, int num_out, double alpha_min)</td></tr>
|
||||
<tr class="memitem:gaeaeffbff2be4d5d15b0d4f10f846abde" id="r_gaeaeffbff2be4d5d15b0d4f10f846abde"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gaeaeffbff2be4d5d15b0d4f10f846abde">kohonen_som_tracer</a> (double **X, double *const *W, int num_samples, int num_features, int num_out, double alpha_min)</td></tr>
|
||||
<tr class="memdesc:gaeaeffbff2be4d5d15b0d4f10f846abde"><td class="mdescLeft"> </td><td class="mdescRight">Apply incremental algorithm with updating neighborhood and learning rates on all samples in the given datset. <br /></td></tr>
|
||||
<tr class="separator:gaeaeffbff2be4d5d15b0d4f10f846abde"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a107f00650b8041f77767927073ddddb8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a107f00650b8041f77767927073ddddb8">test_circle</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memitem:a107f00650b8041f77767927073ddddb8" id="r_a107f00650b8041f77767927073ddddb8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a107f00650b8041f77767927073ddddb8">test_circle</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memdesc:a107f00650b8041f77767927073ddddb8"><td class="mdescLeft"> </td><td class="mdescRight">Creates a random set of points distributed <em>near</em> the circumference of a circle and trains an SOM that finds that circular pattern. <br /></td></tr>
|
||||
<tr class="separator:a107f00650b8041f77767927073ddddb8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1440a7779ac56f47a3f355ce4a8c7da0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a> ()</td></tr>
|
||||
<tr class="memitem:a1440a7779ac56f47a3f355ce4a8c7da0" id="r_a1440a7779ac56f47a3f355ce4a8c7da0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a> ()</td></tr>
|
||||
<tr class="memdesc:a1440a7779ac56f47a3f355ce4a8c7da0"><td class="mdescLeft"> </td><td class="mdescRight">Test that creates a random set of points distributed <em>near</em> the circumference of a circle and trains an SOM that finds that circular pattern. <br /></td></tr>
|
||||
<tr class="separator:a1440a7779ac56f47a3f355ce4a8c7da0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa2246f940155472084ee461f3685d614"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#aa2246f940155472084ee461f3685d614">test_lamniscate</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memitem:aa2246f940155472084ee461f3685d614" id="r_aa2246f940155472084ee461f3685d614"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#aa2246f940155472084ee461f3685d614">test_lamniscate</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memdesc:aa2246f940155472084ee461f3685d614"><td class="mdescLeft"> </td><td class="mdescRight">Creates a random set of points distributed <em>near</em> the locus of the <a href="https://en.wikipedia.org/wiki/Lemniscate_of_Gerono" target="_blank">Lamniscate of Gerono</a>. <br /></td></tr>
|
||||
<tr class="separator:aa2246f940155472084ee461f3685d614"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0283886819c7c140a023582b7269e2d0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a0283886819c7c140a023582b7269e2d0">test2</a> ()</td></tr>
|
||||
<tr class="memitem:a0283886819c7c140a023582b7269e2d0" id="r_a0283886819c7c140a023582b7269e2d0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a0283886819c7c140a023582b7269e2d0">test2</a> ()</td></tr>
|
||||
<tr class="memdesc:a0283886819c7c140a023582b7269e2d0"><td class="mdescLeft"> </td><td class="mdescRight">Test that creates a random set of points distributed <em>near</em> the locus of the <a href="https://en.wikipedia.org/wiki/Lemniscate_of_Gerono" target="_blank">Lamniscate of Gerono</a> and trains an SOM that finds that circular pattern. <br /></td></tr>
|
||||
<tr class="separator:a0283886819c7c140a023582b7269e2d0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a41ae16442e3e5b891a58d2e5932a2cd0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a41ae16442e3e5b891a58d2e5932a2cd0">test_3d_classes</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memitem:a41ae16442e3e5b891a58d2e5932a2cd0" id="r_a41ae16442e3e5b891a58d2e5932a2cd0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a41ae16442e3e5b891a58d2e5932a2cd0">test_3d_classes</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memdesc:a41ae16442e3e5b891a58d2e5932a2cd0"><td class="mdescLeft"> </td><td class="mdescRight">Creates a random set of points distributed in four clusters in 3D space with centroids at the points. <br /></td></tr>
|
||||
<tr class="separator:a41ae16442e3e5b891a58d2e5932a2cd0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d0455dd5c30adda100e95f0423c786e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a6d0455dd5c30adda100e95f0423c786e">test3</a> ()</td></tr>
|
||||
<tr class="memitem:a6d0455dd5c30adda100e95f0423c786e" id="r_a6d0455dd5c30adda100e95f0423c786e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a6d0455dd5c30adda100e95f0423c786e">test3</a> ()</td></tr>
|
||||
<tr class="memdesc:a6d0455dd5c30adda100e95f0423c786e"><td class="mdescLeft"> </td><td class="mdescRight">Test that creates a random set of points distributed in six clusters in 3D space. <br /></td></tr>
|
||||
<tr class="separator:a6d0455dd5c30adda100e95f0423c786e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2256c10b16edba377b64a44b6c656908"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a> (clock_t start_t, clock_t end_t)</td></tr>
|
||||
<tr class="memitem:a2256c10b16edba377b64a44b6c656908" id="r_a2256c10b16edba377b64a44b6c656908"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a> (clock_t start_t, clock_t end_t)</td></tr>
|
||||
<tr class="memdesc:a2256c10b16edba377b64a44b6c656908"><td class="mdescLeft"> </td><td class="mdescRight">Convert clock cycle difference to time in seconds. <br /></td></tr>
|
||||
<tr class="separator:a2256c10b16edba377b64a44b6c656908"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627" id="r_a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memdesc:a3c04138a5bfe5d72780bb7e82a18e627"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -741,7 +741,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_3343723ae086de42ee4ca9774da3a13f.html">machine_learning</a></li><li class="navelem"><a class="el" href="../../d0/d46/kohonen__som__trace_8c.html">kohonen_som_trace.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: conversions/celsius_to_fahrenheit.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -115,13 +115,13 @@ Include dependency graph for celsius_to_fahrenheit.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:aff11c1dfc058bd545a6af4312dfb45c5"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d51/celsius__to__fahrenheit_8c.html#aff11c1dfc058bd545a6af4312dfb45c5">celcius_to_fahrenheit</a> (double celsius)</td></tr>
|
||||
<tr class="memitem:aff11c1dfc058bd545a6af4312dfb45c5" id="r_aff11c1dfc058bd545a6af4312dfb45c5"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d51/celsius__to__fahrenheit_8c.html#aff11c1dfc058bd545a6af4312dfb45c5">celcius_to_fahrenheit</a> (double celsius)</td></tr>
|
||||
<tr class="memdesc:aff11c1dfc058bd545a6af4312dfb45c5"><td class="mdescLeft"> </td><td class="mdescRight">for assert <br /></td></tr>
|
||||
<tr class="separator:aff11c1dfc058bd545a6af4312dfb45c5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d51/celsius__to__fahrenheit_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d51/celsius__to__fahrenheit_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d51/celsius__to__fahrenheit_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d51/celsius__to__fahrenheit_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -273,7 +273,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9babc524d57e25f3d9f4179cabc3599e.html">conversions</a></li><li class="navelem"><a class="el" href="../../d0/d51/celsius__to__fahrenheit_8c.html">celsius_to_fahrenheit.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: hash/hash_xor8.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,13 +116,13 @@ Include dependency graph for hash_xor8.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:gae4836b42b998b336298f3b19dcc9cdeb"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#gae4836b42b998b336298f3b19dcc9cdeb">xor8</a> (const char *s)</td></tr>
|
||||
<tr class="memitem:gae4836b42b998b336298f3b19dcc9cdeb" id="r_gae4836b42b998b336298f3b19dcc9cdeb"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#gae4836b42b998b336298f3b19dcc9cdeb">xor8</a> (const char *s)</td></tr>
|
||||
<tr class="memdesc:gae4836b42b998b336298f3b19dcc9cdeb"><td class="mdescLeft"> </td><td class="mdescRight">8-bit XOR algorithm implementation <br /></td></tr>
|
||||
<tr class="separator:gae4836b42b998b336298f3b19dcc9cdeb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga39d4c16427acbf8bbe744f6d8ed61dc0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga39d4c16427acbf8bbe744f6d8ed61dc0">test_xor8</a> ()</td></tr>
|
||||
<tr class="memitem:ga39d4c16427acbf8bbe744f6d8ed61dc0" id="r_ga39d4c16427acbf8bbe744f6d8ed61dc0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga39d4c16427acbf8bbe744f6d8ed61dc0">test_xor8</a> ()</td></tr>
|
||||
<tr class="memdesc:ga39d4c16427acbf8bbe744f6d8ed61dc0"><td class="mdescLeft"> </td><td class="mdescRight">Test function for <a class="el" href="../../d7/d3b/group__hash.html#gae4836b42b998b336298f3b19dcc9cdeb" title="8-bit XOR algorithm implementation">xor8</a>. <br /></td></tr>
|
||||
<tr class="separator:ga39d4c16427acbf8bbe744f6d8ed61dc0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d57/hash__xor8_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d57/hash__xor8_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -166,7 +166,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_72aaf47615111200018c039a56ef48be.html">hash</a></li><li class="navelem"><a class="el" href="../../d0/d57/hash__xor8_8c.html">hash_xor8.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: elem Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,15 +110,15 @@ Collaboration diagram for elem:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a738173725677dc7ccc8529cc8537c50d"><td class="memItemLeft" align="right" valign="top"><a id="a738173725677dc7ccc8529cc8537c50d" name="a738173725677dc7ccc8529cc8537c50d"></a>
|
||||
<tr class="memitem:a738173725677dc7ccc8529cc8537c50d" id="r_a738173725677dc7ccc8529cc8537c50d"><td class="memItemLeft" align="right" valign="top"><a id="a738173725677dc7ccc8529cc8537c50d" name="a738173725677dc7ccc8529cc8537c50d"></a>
|
||||
void * </td><td class="memItemRight" valign="bottom"><b>val</b></td></tr>
|
||||
<tr class="separator:a738173725677dc7ccc8529cc8537c50d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab9cf5c2e1c9a0ec2938275b90d39d5ca"><td class="memItemLeft" align="right" valign="top"><a id="ab9cf5c2e1c9a0ec2938275b90d39d5ca" name="ab9cf5c2e1c9a0ec2938275b90d39d5ca"></a>
|
||||
<tr class="memitem:ab9cf5c2e1c9a0ec2938275b90d39d5ca" id="r_ab9cf5c2e1c9a0ec2938275b90d39d5ca"><td class="memItemLeft" align="right" valign="top"><a id="ab9cf5c2e1c9a0ec2938275b90d39d5ca" name="ab9cf5c2e1c9a0ec2938275b90d39d5ca"></a>
|
||||
struct <a class="el" href="../../d0/d6b/structelem.html">elem</a> * </td><td class="memItemRight" valign="bottom"><b>next</b></td></tr>
|
||||
<tr class="separator:ab9cf5c2e1c9a0ec2938275b90d39d5ca"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>data_structures/stack/stack_linked_list/stack.c</li>
|
||||
<li>data_structures/stack/stack_linked_list/<b>stack.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -126,7 +126,7 @@ struct <a class="el" href="../../d0/d6b/structelem.html">elem</a> * </td><t
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d0/d6b/structelem.html">elem</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_4/sol.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -114,10 +114,10 @@ Include dependency graph for sol.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:adf9bea8d35848959bde5b3f277edf0c4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6c/problem__4_2sol_8c.html#adf9bea8d35848959bde5b3f277edf0c4">is_palindromic</a> (unsigned int n)</td></tr>
|
||||
<tr class="memitem:adf9bea8d35848959bde5b3f277edf0c4" id="r_adf9bea8d35848959bde5b3f277edf0c4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6c/problem__4_2sol_8c.html#adf9bea8d35848959bde5b3f277edf0c4">is_palindromic</a> (unsigned int n)</td></tr>
|
||||
<tr class="memdesc:adf9bea8d35848959bde5b3f277edf0c4"><td class="mdescLeft"> </td><td class="mdescRight">Check if number is palindromic. <br /></td></tr>
|
||||
<tr class="separator:adf9bea8d35848959bde5b3f277edf0c4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6c/problem__4_2sol_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe" id="r_a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6c/problem__4_2sol_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -211,7 +211,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_1833eb69ceee7a265ffba4c38c8243d2.html">problem_4</a></li><li class="navelem"><a class="el" href="../../d0/d6c/problem__4_2sol_8c.html">sol.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_10/sol1.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,13 +116,13 @@ Include dependency graph for sol1.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:acc871ab6bfead702e983a7f9c412915f"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6d/problem__10_2sol1_8c.html#acc871ab6bfead702e983a7f9c412915f">is_prime</a> (unsigned long n)</td></tr>
|
||||
<tr class="memitem:acc871ab6bfead702e983a7f9c412915f" id="r_acc871ab6bfead702e983a7f9c412915f"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6d/problem__10_2sol1_8c.html#acc871ab6bfead702e983a7f9c412915f">is_prime</a> (unsigned long n)</td></tr>
|
||||
<tr class="memdesc:acc871ab6bfead702e983a7f9c412915f"><td class="mdescLeft"> </td><td class="mdescRight">Function to check if a number is prime. <br /></td></tr>
|
||||
<tr class="separator:acc871ab6bfead702e983a7f9c412915f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae3d987cb2ad0ddb0c3caa4c2506a20e5"><td class="memItemLeft" align="right" valign="top">unsigned long long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6d/problem__10_2sol1_8c.html#ae3d987cb2ad0ddb0c3caa4c2506a20e5">sum_of_primes</a> (unsigned long N)</td></tr>
|
||||
<tr class="memitem:ae3d987cb2ad0ddb0c3caa4c2506a20e5" id="r_ae3d987cb2ad0ddb0c3caa4c2506a20e5"><td class="memItemLeft" align="right" valign="top">unsigned long long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6d/problem__10_2sol1_8c.html#ae3d987cb2ad0ddb0c3caa4c2506a20e5">sum_of_primes</a> (unsigned long N)</td></tr>
|
||||
<tr class="memdesc:ae3d987cb2ad0ddb0c3caa4c2506a20e5"><td class="mdescLeft"> </td><td class="mdescRight">Computes sum of prime numbers less than N. <br /></td></tr>
|
||||
<tr class="separator:ae3d987cb2ad0ddb0c3caa4c2506a20e5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6d/problem__10_2sol1_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6d/problem__10_2sol1_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -244,7 +244,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_16b947d8e9a05fe119d0675493324331.html">problem_10</a></li><li class="navelem"><a class="el" href="../../d0/d6d/problem__10_2sol1_8c.html">sol1.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: math/fibonacci.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,16 +118,16 @@ Include dependency graph for fibonacci.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ae082919377416805160894716b2344d7"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/fibonacci_8c.html#ae082919377416805160894716b2344d7">fib</a> (int number)</td></tr>
|
||||
<tr class="memitem:ae082919377416805160894716b2344d7" id="r_ae082919377416805160894716b2344d7"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/fibonacci_8c.html#ae082919377416805160894716b2344d7">fib</a> (int number)</td></tr>
|
||||
<tr class="memdesc:ae082919377416805160894716b2344d7"><td class="mdescLeft"> </td><td class="mdescRight">for assert() for errno - to determine whether there is an error while using strtol() <br /></td></tr>
|
||||
<tr class="separator:ae082919377416805160894716b2344d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aeb1b48abe7f99ab8e1d71426f28ab025"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/fibonacci_8c.html#aeb1b48abe7f99ab8e1d71426f28ab025">getInput</a> (void)</td></tr>
|
||||
<tr class="memitem:aeb1b48abe7f99ab8e1d71426f28ab025" id="r_aeb1b48abe7f99ab8e1d71426f28ab025"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/fibonacci_8c.html#aeb1b48abe7f99ab8e1d71426f28ab025">getInput</a> (void)</td></tr>
|
||||
<tr class="memdesc:aeb1b48abe7f99ab8e1d71426f28ab025"><td class="mdescLeft"> </td><td class="mdescRight">Get the input from the user. <br /></td></tr>
|
||||
<tr class="separator:aeb1b48abe7f99ab8e1d71426f28ab025"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/fibonacci_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/fibonacci_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">self-test implementation <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/fibonacci_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/fibonacci_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -245,7 +245,7 @@ Here is the call graph for this function:</div>
|
|||
<div class="line"><span class="lineno"> 84</span> printf(<span class="stringliteral">"\nEntered digit: %d (it might take sometime)\n"</span>, num);</div>
|
||||
<div class="line"><span class="lineno"> 85</span> <span class="keywordflow">return</span> num;</div>
|
||||
<div class="line"><span class="lineno"> 86</span>}</div>
|
||||
<div class="ttc" id="astructbuffer_html"><div class="ttname"><a href="../../dd/da2/structbuffer.html">buffer</a></div><div class="ttdoc">struct used to store character in certain times</div><div class="ttdef"><b>Definition</b> min_printf.h:31</div></div>
|
||||
<div class="ttc" id="astructbuffer_html"><div class="ttname"><a href="../../dd/da2/structbuffer.html">buffer</a></div><div class="ttdoc">struct used to store character in certain times</div><div class="ttdef"><b>Definition</b> min_printf.h:35</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
|
@ -343,7 +343,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a class="el" href="../../d0/d6f/fibonacci_8c.html">fibonacci.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_2/so1.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -114,7 +114,7 @@ Include dependency graph for so1.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d7f/so1_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d7f/so1_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -169,7 +169,7 @@ Functions</h2></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_eeeea13e3a5e5edad3499183767ce312.html">problem_2</a></li><li class="navelem"><a class="el" href="../../d0/d7f/so1_8c.html">so1.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: conversions/octal_to_hexadecimal.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,16 +118,16 @@ Include dependency graph for octal_to_hexadecimal.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a86a4edb605c2a03d9175c59de679347d"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html#a86a4edb605c2a03d9175c59de679347d">octalToDecimal</a> (long octalValue)</td></tr>
|
||||
<tr class="memitem:a86a4edb605c2a03d9175c59de679347d" id="r_a86a4edb605c2a03d9175c59de679347d"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html#a86a4edb605c2a03d9175c59de679347d">octalToDecimal</a> (long octalValue)</td></tr>
|
||||
<tr class="memdesc:a86a4edb605c2a03d9175c59de679347d"><td class="mdescLeft"> </td><td class="mdescRight">Convert octal number to decimal number. <br /></td></tr>
|
||||
<tr class="separator:a86a4edb605c2a03d9175c59de679347d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a823ef5170955cfef40e07d9a4d2e87e2"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html#a823ef5170955cfef40e07d9a4d2e87e2">octalToHexadecimal</a> (long octalValue)</td></tr>
|
||||
<tr class="memitem:a823ef5170955cfef40e07d9a4d2e87e2" id="r_a823ef5170955cfef40e07d9a4d2e87e2"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html#a823ef5170955cfef40e07d9a4d2e87e2">octalToHexadecimal</a> (long octalValue)</td></tr>
|
||||
<tr class="memdesc:a823ef5170955cfef40e07d9a4d2e87e2"><td class="mdescLeft"> </td><td class="mdescRight">Convert octal number to hexadecimal number dynamically allocated memory needs to be freed by the calling the function free. <br /></td></tr>
|
||||
<tr class="separator:a823ef5170955cfef40e07d9a4d2e87e2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Test function. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -307,7 +307,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9babc524d57e25f3d9f4179cabc3599e.html">conversions</a></li><li class="navelem"><a class="el" href="../../d0/d8a/octal__to__hexadecimal_8c.html">octal_to_hexadecimal.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: max_heap Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,13 +108,13 @@ $(document).ready(function(){initNavTree('d0/d8a/structmax__heap.html','../../')
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a1b632c34e7304f9e0720834200696340"><td class="memItemLeft" align="right" valign="top"><a id="a1b632c34e7304f9e0720834200696340" name="a1b632c34e7304f9e0720834200696340"></a>
|
||||
<tr class="memitem:a1b632c34e7304f9e0720834200696340" id="r_a1b632c34e7304f9e0720834200696340"><td class="memItemLeft" align="right" valign="top"><a id="a1b632c34e7304f9e0720834200696340" name="a1b632c34e7304f9e0720834200696340"></a>
|
||||
int * </td><td class="memItemRight" valign="bottom"><b>p</b></td></tr>
|
||||
<tr class="separator:a1b632c34e7304f9e0720834200696340"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac4d520821651b109fd2ba2a99c6c6015"><td class="memItemLeft" align="right" valign="top"><a id="ac4d520821651b109fd2ba2a99c6c6015" name="ac4d520821651b109fd2ba2a99c6c6015"></a>
|
||||
<tr class="memitem:ac4d520821651b109fd2ba2a99c6c6015" id="r_ac4d520821651b109fd2ba2a99c6c6015"><td class="memItemLeft" align="right" valign="top"><a id="ac4d520821651b109fd2ba2a99c6c6015" name="ac4d520821651b109fd2ba2a99c6c6015"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>size</b></td></tr>
|
||||
<tr class="separator:ac4d520821651b109fd2ba2a99c6c6015"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a917b63797e1857ce994dd5e6cfcebf1e"><td class="memItemLeft" align="right" valign="top"><a id="a917b63797e1857ce994dd5e6cfcebf1e" name="a917b63797e1857ce994dd5e6cfcebf1e"></a>
|
||||
<tr class="memitem:a917b63797e1857ce994dd5e6cfcebf1e" id="r_a917b63797e1857ce994dd5e6cfcebf1e"><td class="memItemLeft" align="right" valign="top"><a id="a917b63797e1857ce994dd5e6cfcebf1e" name="a917b63797e1857ce994dd5e6cfcebf1e"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>count</b></td></tr>
|
||||
<tr class="separator:a917b63797e1857ce994dd5e6cfcebf1e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -122,7 +122,7 @@ int </td><td class="memItemRight" valign="bottom"><b>count</b></td></tr>
|
|||
<div class="textblock"><p>for INT_MIN </p>
|
||||
<p>for IO operations for dynamic memory allocation </p>
|
||||
</div><hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>data_structures/heap/max_heap.c</li>
|
||||
<li>data_structures/heap/<b>max_heap.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -130,7 +130,7 @@ int </td><td class="memItemRight" valign="bottom"><b>count</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d0/d8a/structmax__heap.html">max_heap</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: ProjectEuler</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -120,7 +120,7 @@ $(document).ready(function(){initNavTree('d0/da3/md_project__euler_2_r_e_a_d_m_e
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: geometry/geometry_datatypes.h File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -135,29 +135,29 @@ Data Structures</h2></td></tr>
|
|||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ga002b2f4894492820fe708b1b7e7c5e70"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d5a/group__quaternions.html#ga002b2f4894492820fe708b1b7e7c5e70">EPSILON</a>   1e-9</td></tr>
|
||||
<tr class="memitem:ga002b2f4894492820fe708b1b7e7c5e70" id="r_ga002b2f4894492820fe708b1b7e7c5e70"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d5a/group__quaternions.html#ga002b2f4894492820fe708b1b7e7c5e70">EPSILON</a>   1e-9</td></tr>
|
||||
<tr class="memdesc:ga002b2f4894492820fe708b1b7e7c5e70"><td class="mdescLeft"> </td><td class="mdescRight">Minimum recognizable value. <br /></td></tr>
|
||||
<tr class="separator:ga002b2f4894492820fe708b1b7e7c5e70"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:gaf9ee870d4922e488bdd3e7262485c270"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:gaf9ee870d4922e488bdd3e7262485c270" id="r_gaf9ee870d4922e488bdd3e7262485c270"><td class="memItemLeft" align="right" valign="top">
|
||||
typedef struct <a class="el" href="../../d5/db4/structvec__3d__.html">vec_3d_</a> </td><td class="memItemRight" valign="bottom"><b>vec_3d</b></td></tr>
|
||||
<tr class="memdesc:gaf9ee870d4922e488bdd3e7262485c270"><td class="mdescLeft"> </td><td class="mdescRight">3D vector type <br /></td></tr>
|
||||
<tr class="separator:gaf9ee870d4922e488bdd3e7262485c270"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga9f844010cb96591fa94c9d533a500ab7"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:ga9f844010cb96591fa94c9d533a500ab7" id="r_ga9f844010cb96591fa94c9d533a500ab7"><td class="memItemLeft" align="right" valign="top">
|
||||
typedef struct <a class="el" href="../../d9/d8b/structmat__3x3__.html">mat_3x3_</a> </td><td class="memItemRight" valign="bottom"><b>mat_3x3</b></td></tr>
|
||||
<tr class="memdesc:ga9f844010cb96591fa94c9d533a500ab7"><td class="mdescLeft"> </td><td class="mdescRight">A 3x3 Matrix type definition. <br /></td></tr>
|
||||
<tr class="separator:ga9f844010cb96591fa94c9d533a500ab7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaacd70a16b61dd47a19eb5fb729c2669b"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:gaacd70a16b61dd47a19eb5fb729c2669b" id="r_gaacd70a16b61dd47a19eb5fb729c2669b"><td class="memItemLeft" align="right" valign="top">
|
||||
typedef struct <a class="el" href="../../de/d58/structquaternion__.html">quaternion_</a> </td><td class="memItemRight" valign="bottom"><b>quaternion</b></td></tr>
|
||||
<tr class="memdesc:gaacd70a16b61dd47a19eb5fb729c2669b"><td class="mdescLeft"> </td><td class="mdescRight">a Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\) <br /></td></tr>
|
||||
<tr class="separator:gaacd70a16b61dd47a19eb5fb729c2669b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga8cc5e5b7a5fa492423ecf034c8bb52bd"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:ga8cc5e5b7a5fa492423ecf034c8bb52bd" id="r_ga8cc5e5b7a5fa492423ecf034c8bb52bd"><td class="memItemLeft" align="right" valign="top">
|
||||
typedef struct <a class="el" href="../../d2/de8/structeuler__.html">euler_</a> </td><td class="memItemRight" valign="bottom"><b>euler</b></td></tr>
|
||||
<tr class="memdesc:ga8cc5e5b7a5fa492423ecf034c8bb52bd"><td class="mdescLeft"> </td><td class="mdescRight">3D Euler or Tait-Bryan angles (in radian) <br /></td></tr>
|
||||
<tr class="separator:ga8cc5e5b7a5fa492423ecf034c8bb52bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga27005601c47e5bb7aafe77659e76c88f"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:ga27005601c47e5bb7aafe77659e76c88f" id="r_ga27005601c47e5bb7aafe77659e76c88f"><td class="memItemLeft" align="right" valign="top">
|
||||
typedef struct <a class="el" href="../../d7/dfd/structdual__quat__.html">dual_quat_</a> </td><td class="memItemRight" valign="bottom"><b>dual_quat</b></td></tr>
|
||||
<tr class="memdesc:ga27005601c47e5bb7aafe77659e76c88f"><td class="mdescLeft"> </td><td class="mdescRight">a dual quaternion type <br /></td></tr>
|
||||
<tr class="separator:ga27005601c47e5bb7aafe77659e76c88f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -171,7 +171,7 @@ typedef struct <a class="el" href="../../d7/dfd/structdual__quat__.html">dual_qu
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_e3380d2178455503f266746fb14246a5.html">geometry</a></li><li class="navelem"><a class="el" href="../../d0/dc7/geometry__datatypes_8h.html">geometry_datatypes.h</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: geometry/geometry_datatypes.h Source File</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -58,6 +58,11 @@ $(function() {
|
|||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
|
@ -120,12 +125,14 @@ $(document).ready(function(){initNavTree('d0/dc7/geometry__datatypes_8h_source.h
|
|||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment"> * @{</span></div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment"> */</span><span class="comment"></span></div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment">/** 3D vector type */</span></div>
|
||||
<div class="foldopen" id="foldopen00021" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="../../d5/db4/structvec__3d__.html"> 21</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d5/db4/structvec__3d__.html">vec_3d_</a></div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span>{</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="../../d5/db4/structvec__3d__.html#a53462a5a195c9e16fb584f73fd66c3d0"> 23</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="../../d5/db4/structvec__3d__.html#a53462a5a195c9e16fb584f73fd66c3d0">x</a>; <span class="comment">/**< X co-ordinate */</span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="../../d5/db4/structvec__3d__.html#a76098d39a382838df3b4b48c3443413b"> 24</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="../../d5/db4/structvec__3d__.html#a76098d39a382838df3b4b48c3443413b">y</a>; <span class="comment">/**< Y co-ordinate */</span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="../../d5/db4/structvec__3d__.html#a3339a40de7385fa55bee30be81c098c6"> 25</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="../../d5/db4/structvec__3d__.html#a3339a40de7385fa55bee30be81c098c6">z</a>; <span class="comment">/**< Z co-ordinate */</span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="../../de/d7b/group__vec__3d.html#gaf9ee870d4922e488bdd3e7262485c270"> 26</a></span>} <a class="code hl_typedef" href="../../de/d7b/group__vec__3d.html#gaf9ee870d4922e488bdd3e7262485c270">vec_3d</a>;<span class="comment"></span></div>
|
||||
</div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment">/** @} */</span></div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="comment">/**</span></div>
|
||||
|
@ -133,6 +140,7 @@ $(document).ready(function(){initNavTree('d0/dc7/geometry__datatypes_8h_source.h
|
|||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="comment"> * @{</span></div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="comment"> */</span><span class="comment"></span></div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment">/** A 3x3 Matrix type definition */</span></div>
|
||||
<div class="foldopen" id="foldopen00034" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../d9/d8b/structmat__3x3__.html"> 34</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d9/d8b/structmat__3x3__.html">mat_3x3_</a></div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>{</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">union</span></div>
|
||||
|
@ -151,6 +159,7 @@ $(document).ready(function(){initNavTree('d0/dc7/geometry__datatypes_8h_source.h
|
|||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_struct" href="../../d5/db4/structvec__3d__.html">vec_3d</a> vec3;</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> };</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="../../dd/d7a/group__matrix.html#ga9f844010cb96591fa94c9d533a500ab7"> 51</a></span>} <a class="code hl_typedef" href="../../dd/d7a/group__matrix.html#ga9f844010cb96591fa94c9d533a500ab7">mat_3x3</a>;<span class="comment"></span></div>
|
||||
</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment">/** @} */</span></div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment">/** @addtogroup quats 3D Quaternion operations</span></div>
|
||||
|
@ -159,6 +168,7 @@ $(document).ready(function(){initNavTree('d0/dc7/geometry__datatypes_8h_source.h
|
|||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="comment">/** a Quaternion type represented using a scalar \f$w\f$ or \f$q_0\f$ and a</span></div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="comment"> * 3D vector \f$\left(q_1,q_2,q_3\right)\f$</span></div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="comment"> */</span></div>
|
||||
<div class="foldopen" id="foldopen00060" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="../../de/d58/structquaternion__.html"> 60</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../de/d58/structquaternion__.html">quaternion_</a></div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>{</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">union</span></div>
|
||||
|
@ -177,8 +187,10 @@ $(document).ready(function(){initNavTree('d0/dc7/geometry__datatypes_8h_source.h
|
|||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> };</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> };</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../dc/d9a/group__quats.html#gaacd70a16b61dd47a19eb5fb729c2669b"> 77</a></span>} <a class="code hl_typedef" href="../../dc/d9a/group__quats.html#gaacd70a16b61dd47a19eb5fb729c2669b">quaternion</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="comment">/** 3D Euler or Tait-Bryan angles (in radian) */</span></div>
|
||||
<div class="foldopen" id="foldopen00080" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="../../d2/de8/structeuler__.html"> 80</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d2/de8/structeuler__.html">euler_</a></div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span>{</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">union</span></div>
|
||||
|
@ -197,6 +209,7 @@ $(document).ready(function(){initNavTree('d0/dc7/geometry__datatypes_8h_source.h
|
|||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="../../d2/de8/structeuler__.html#a899572e1b6a43387128de3a402a0a5f8"> 95</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="../../d2/de8/structeuler__.html#a899572e1b6a43387128de3a402a0a5f8">heading</a>; <span class="comment">/**< or yaw \f$\psi\f$ = rotation about Z axis */</span></div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> };</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="../../dc/d9a/group__quats.html#ga8cc5e5b7a5fa492423ecf034c8bb52bd"> 97</a></span>} <a class="code hl_typedef" href="../../dc/d9a/group__quats.html#ga8cc5e5b7a5fa492423ecf034c8bb52bd">euler</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span><span class="comment">/** @} */</span></div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="comment"></span> </div>
|
||||
|
@ -204,11 +217,13 @@ $(document).ready(function(){initNavTree('d0/dc7/geometry__datatypes_8h_source.h
|
|||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span><span class="comment"> * @{</span></div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span><span class="comment"> */</span><span class="comment"></span></div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><span class="comment">/** a dual quaternion type */</span></div>
|
||||
<div class="foldopen" id="foldopen00105" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="../../d7/dfd/structdual__quat__.html"> 105</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d7/dfd/structdual__quat__.html">dual_quat_</a></div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span>{</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="../../d7/dfd/structdual__quat__.html#ad663036ace6a586f90a2f89386f7731a"> 107</a></span> <a class="code hl_struct" href="../../de/d58/structquaternion__.html">quaternion</a> <a class="code hl_variable" href="../../d7/dfd/structdual__quat__.html#ad663036ace6a586f90a2f89386f7731a">real</a>; <span class="comment">/**< real part of dual quaternion */</span></div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="../../d7/dfd/structdual__quat__.html#a1b05fbc4135e4f9b731423f26527543d"> 108</a></span> <a class="code hl_struct" href="../../de/d58/structquaternion__.html">quaternion</a> <a class="code hl_variable" href="../../d7/dfd/structdual__quat__.html#a1b05fbc4135e4f9b731423f26527543d">dual</a>; <span class="comment">/**< dual part of dual quaternion */</span></div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="../../d4/d69/group__dual__quats.html#ga27005601c47e5bb7aafe77659e76c88f"> 109</a></span>} <a class="code hl_typedef" href="../../d4/d69/group__dual__quats.html#ga27005601c47e5bb7aafe77659e76c88f">dual_quat</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="comment">/** @} */</span></div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> </div>
|
||||
|
@ -248,7 +263,7 @@ $(document).ready(function(){initNavTree('d0/dc7/geometry__datatypes_8h_source.h
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_e3380d2178455503f266746fb14246a5.html">geometry</a></li><li class="navelem"><a class="el" href="../../d0/dc7/geometry__datatypes_8h.html">geometry_datatypes.h</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Kohonen SOM trace/chain algorithm</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -111,30 +111,30 @@ Collaboration diagram for Kohonen SOM trace/chain algorithm:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:gaffe776513b24d84b39af8ab0930fef7f"><td class="memItemLeft" align="right" valign="top"><a id="gaffe776513b24d84b39af8ab0930fef7f" name="gaffe776513b24d84b39af8ab0930fef7f"></a>
|
||||
<tr class="memitem:gaffe776513b24d84b39af8ab0930fef7f" id="r_gaffe776513b24d84b39af8ab0930fef7f"><td class="memItemLeft" align="right" valign="top"><a id="gaffe776513b24d84b39af8ab0930fef7f" name="gaffe776513b24d84b39af8ab0930fef7f"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>max</b>(a, b)   (((a) > (b)) ? (a) : (b))</td></tr>
|
||||
<tr class="memdesc:gaffe776513b24d84b39af8ab0930fef7f"><td class="mdescLeft"> </td><td class="mdescRight">shorthand for maximum value <br /></td></tr>
|
||||
<tr class="separator:gaffe776513b24d84b39af8ab0930fef7f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gac6afabdc09a49a433ee19d8a9486056d"><td class="memItemLeft" align="right" valign="top"><a id="gac6afabdc09a49a433ee19d8a9486056d" name="gac6afabdc09a49a433ee19d8a9486056d"></a>
|
||||
<tr class="memitem:gac6afabdc09a49a433ee19d8a9486056d" id="r_gac6afabdc09a49a433ee19d8a9486056d"><td class="memItemLeft" align="right" valign="top"><a id="gac6afabdc09a49a433ee19d8a9486056d" name="gac6afabdc09a49a433ee19d8a9486056d"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>min</b>(a, b)   (((a) < (b)) ? (a) : (b))</td></tr>
|
||||
<tr class="memdesc:gac6afabdc09a49a433ee19d8a9486056d"><td class="mdescLeft"> </td><td class="mdescRight">shorthand for minimum value <br /></td></tr>
|
||||
<tr class="separator:gac6afabdc09a49a433ee19d8a9486056d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:gaf5ce14f026d6d231bef29161bac2b485"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a> (double a, double b)</td></tr>
|
||||
<tr class="memitem:gaf5ce14f026d6d231bef29161bac2b485" id="r_gaf5ce14f026d6d231bef29161bac2b485"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a> (double a, double b)</td></tr>
|
||||
<tr class="memdesc:gaf5ce14f026d6d231bef29161bac2b485"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to generate a random number in a given interval. <br /></td></tr>
|
||||
<tr class="separator:gaf5ce14f026d6d231bef29161bac2b485"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga7b84b14e60f47812b581d1f93057c85a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#ga7b84b14e60f47812b581d1f93057c85a">save_nd_data</a> (const char *fname, double **X, int num_points, int num_features)</td></tr>
|
||||
<tr class="memitem:ga7b84b14e60f47812b581d1f93057c85a" id="r_ga7b84b14e60f47812b581d1f93057c85a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#ga7b84b14e60f47812b581d1f93057c85a">save_nd_data</a> (const char *fname, double **X, int num_points, int num_features)</td></tr>
|
||||
<tr class="memdesc:ga7b84b14e60f47812b581d1f93057c85a"><td class="mdescLeft"> </td><td class="mdescRight">Save a given n-dimensional data martix to file. <br /></td></tr>
|
||||
<tr class="separator:ga7b84b14e60f47812b581d1f93057c85a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga4a57a413a3cef286a7da6d4666575586"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#ga4a57a413a3cef286a7da6d4666575586">kohonen_get_min_1d</a> (double const *X, int N, double *val, int *idx)</td></tr>
|
||||
<tr class="memitem:ga4a57a413a3cef286a7da6d4666575586" id="r_ga4a57a413a3cef286a7da6d4666575586"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#ga4a57a413a3cef286a7da6d4666575586">kohonen_get_min_1d</a> (double const *X, int N, double *val, int *idx)</td></tr>
|
||||
<tr class="memdesc:ga4a57a413a3cef286a7da6d4666575586"><td class="mdescLeft"> </td><td class="mdescRight">Get minimum value and index of the value in a vector. <br /></td></tr>
|
||||
<tr class="separator:ga4a57a413a3cef286a7da6d4666575586"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae334493a0917a24736fe5ba82aa6f81f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gae334493a0917a24736fe5ba82aa6f81f">kohonen_update_weights</a> (double const *x, double *const *W, double *D, int num_out, int num_features, double alpha, int R)</td></tr>
|
||||
<tr class="memitem:gae334493a0917a24736fe5ba82aa6f81f" id="r_gae334493a0917a24736fe5ba82aa6f81f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gae334493a0917a24736fe5ba82aa6f81f">kohonen_update_weights</a> (double const *x, double *const *W, double *D, int num_out, int num_features, double alpha, int R)</td></tr>
|
||||
<tr class="memdesc:gae334493a0917a24736fe5ba82aa6f81f"><td class="mdescLeft"> </td><td class="mdescRight">Update weights of the SOM using Kohonen algorithm. <br /></td></tr>
|
||||
<tr class="separator:gae334493a0917a24736fe5ba82aa6f81f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaeaeffbff2be4d5d15b0d4f10f846abde"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gaeaeffbff2be4d5d15b0d4f10f846abde">kohonen_som_tracer</a> (double **X, double *const *W, int num_samples, int num_features, int num_out, double alpha_min)</td></tr>
|
||||
<tr class="memitem:gaeaeffbff2be4d5d15b0d4f10f846abde" id="r_gaeaeffbff2be4d5d15b0d4f10f846abde"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/group__kohonen__1d.html#gaeaeffbff2be4d5d15b0d4f10f846abde">kohonen_som_tracer</a> (double **X, double *const *W, int num_samples, int num_features, int num_out, double alpha_min)</td></tr>
|
||||
<tr class="memdesc:gaeaeffbff2be4d5d15b0d4f10f846abde"><td class="mdescLeft"> </td><td class="mdescRight">Apply incremental algorithm with updating neighborhood and learning rates on all samples in the given datset. <br /></td></tr>
|
||||
<tr class="separator:gaeaeffbff2be4d5d15b0d4f10f846abde"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -551,7 +551,7 @@ Here is the call graph for this function:</div>
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: misc/poly_add.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -122,28 +122,28 @@ Data Structures</h2></td></tr>
|
|||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a5a103fff33166d6e4d975b8b63c6e895"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a5a103fff33166d6e4d975b8b63c6e895">free_poly</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly)</td></tr>
|
||||
<tr class="memitem:a5a103fff33166d6e4d975b8b63c6e895" id="r_a5a103fff33166d6e4d975b8b63c6e895"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a5a103fff33166d6e4d975b8b63c6e895">free_poly</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly)</td></tr>
|
||||
<tr class="memdesc:a5a103fff33166d6e4d975b8b63c6e895"><td class="mdescLeft"> </td><td class="mdescRight">Frees memory space. <br /></td></tr>
|
||||
<tr class="separator:a5a103fff33166d6e4d975b8b63c6e895"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a29eace09ec1373a92003075f1c2f6d9d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a29eace09ec1373a92003075f1c2f6d9d">create_polynomial</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> **poly, int coef, int pow)</td></tr>
|
||||
<tr class="memitem:a29eace09ec1373a92003075f1c2f6d9d" id="r_a29eace09ec1373a92003075f1c2f6d9d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a29eace09ec1373a92003075f1c2f6d9d">create_polynomial</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> **poly, int coef, int pow)</td></tr>
|
||||
<tr class="memdesc:a29eace09ec1373a92003075f1c2f6d9d"><td class="mdescLeft"> </td><td class="mdescRight">The function will create a polynomial. <br /></td></tr>
|
||||
<tr class="separator:a29eace09ec1373a92003075f1c2f6d9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6ff38afe4720527c9513139cbab460af"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a6ff38afe4720527c9513139cbab460af">poly_add</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> **pol, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly1, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly2)</td></tr>
|
||||
<tr class="memitem:a6ff38afe4720527c9513139cbab460af" id="r_a6ff38afe4720527c9513139cbab460af"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a6ff38afe4720527c9513139cbab460af">poly_add</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> **pol, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly1, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly2)</td></tr>
|
||||
<tr class="memdesc:a6ff38afe4720527c9513139cbab460af"><td class="mdescLeft"> </td><td class="mdescRight">The function will add 2 polynomials. <br /></td></tr>
|
||||
<tr class="separator:a6ff38afe4720527c9513139cbab460af"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab9b9bedcb99f279d491d1b856791a36d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#ab9b9bedcb99f279d491d1b856791a36d">display_polynomial</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly)</td></tr>
|
||||
<tr class="memitem:ab9b9bedcb99f279d491d1b856791a36d" id="r_ab9b9bedcb99f279d491d1b856791a36d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#ab9b9bedcb99f279d491d1b856791a36d">display_polynomial</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly)</td></tr>
|
||||
<tr class="memdesc:ab9b9bedcb99f279d491d1b856791a36d"><td class="mdescLeft"> </td><td class="mdescRight">The function will display the polynomial. <br /></td></tr>
|
||||
<tr class="separator:ab9b9bedcb99f279d491d1b856791a36d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab215107dbb50c7efa811a687ce9b95af"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#ab215107dbb50c7efa811a687ce9b95af">test1</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly1, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly2, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly3)</td></tr>
|
||||
<tr class="memitem:ab215107dbb50c7efa811a687ce9b95af" id="r_ab215107dbb50c7efa811a687ce9b95af"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#ab215107dbb50c7efa811a687ce9b95af">test1</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly1, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly2, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly3)</td></tr>
|
||||
<tr class="memdesc:ab215107dbb50c7efa811a687ce9b95af"><td class="mdescLeft"> </td><td class="mdescRight">Test function 1. <br /></td></tr>
|
||||
<tr class="separator:ab215107dbb50c7efa811a687ce9b95af"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0c5173884bd798a6ca6f437b9b932409"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a0c5173884bd798a6ca6f437b9b932409">test2</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly1, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly2, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly3)</td></tr>
|
||||
<tr class="memitem:a0c5173884bd798a6ca6f437b9b932409" id="r_a0c5173884bd798a6ca6f437b9b932409"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a0c5173884bd798a6ca6f437b9b932409">test2</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly1, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly2, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly3)</td></tr>
|
||||
<tr class="memdesc:a0c5173884bd798a6ca6f437b9b932409"><td class="mdescLeft"> </td><td class="mdescRight">Test function 2. <br /></td></tr>
|
||||
<tr class="separator:a0c5173884bd798a6ca6f437b9b932409"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab138609c765e2fd8b89e9c107cd40d57"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#ab138609c765e2fd8b89e9c107cd40d57">test3</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly1, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly2, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly3)</td></tr>
|
||||
<tr class="memitem:ab138609c765e2fd8b89e9c107cd40d57" id="r_ab138609c765e2fd8b89e9c107cd40d57"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#ab138609c765e2fd8b89e9c107cd40d57">test3</a> (struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly1, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly2, struct <a class="el" href="../../df/d86/structterm.html">term</a> *poly3)</td></tr>
|
||||
<tr class="memdesc:ab138609c765e2fd8b89e9c107cd40d57"><td class="mdescLeft"> </td><td class="mdescRight">Test function 3. <br /></td></tr>
|
||||
<tr class="separator:ab138609c765e2fd8b89e9c107cd40d57"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe" id="r_a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcb/poly__add_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -206,7 +206,7 @@ Functions</h2></td></tr>
|
|||
<div class="line"><span class="lineno"> 58</span> <span class="comment">// Now temp1 reaches to the end of the list</span></div>
|
||||
<div class="line"><span class="lineno"> 59</span> *temp1 = (<span class="keyword">struct </span><a class="code hl_struct" href="../../df/d86/structterm.html">term</a> *)<a class="code hl_define" href="../../d2/ddd/malloc__dbg_8h.html#a725f50ecaf1959d96de79b36b4788fee">malloc</a>(</div>
|
||||
<div class="line"><span class="lineno"> 60</span> <span class="keyword">sizeof</span>(<span class="keyword">struct</span> <a class="code hl_struct" href="../../df/d86/structterm.html">term</a>)); <span class="comment">// Create the term and linked as the tail</span></div>
|
||||
<div class="line"><span class="lineno"> 61</span> (*temp1)->coef = <a class="code hl_variable" href="../../df/d86/structterm.html#a5a730814391f70179da78c657e6e6f7b">coef</a>;</div>
|
||||
<div class="line"><span class="lineno"> 61</span> (*temp1)-><a class="code hl_variable" href="../../df/d86/structterm.html#a5a730814391f70179da78c657e6e6f7b">coef</a> = <a class="code hl_variable" href="../../df/d86/structterm.html#a5a730814391f70179da78c657e6e6f7b">coef</a>;</div>
|
||||
<div class="line"><span class="lineno"> 62</span> (*temp1)->pow = <a class="code hl_variable" href="../../df/d86/structterm.html#a057f161d279d856d11786aa96fc87f74">pow</a>;</div>
|
||||
<div class="line"><span class="lineno"> 63</span> (*temp1)->next = NULL;</div>
|
||||
<div class="line"><span class="lineno"> 64</span>}</div>
|
||||
|
@ -703,7 +703,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_a52f4d3d586a58b02f3a4ddf0a992157.html">misc</a></li><li class="navelem"><a class="el" href="../../d0/dcb/poly__add_8c.html">poly_add.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: conversions/hexadecimal_to_octal2.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,19 +116,19 @@ Include dependency graph for hexadecimal_to_octal2.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad47196c6a06f99a1437e9569bae13c5f"><td class="memItemLeft" align="right" valign="top"><a id="ad47196c6a06f99a1437e9569bae13c5f" name="ad47196c6a06f99a1437e9569bae13c5f"></a>
|
||||
<tr class="memitem:ad47196c6a06f99a1437e9569bae13c5f" id="r_ad47196c6a06f99a1437e9569bae13c5f"><td class="memItemLeft" align="right" valign="top"><a id="ad47196c6a06f99a1437e9569bae13c5f" name="ad47196c6a06f99a1437e9569bae13c5f"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>MAX_OCT_STR_LEN</b>   23 /* 17_7777_7777_7777_7777_7777 */</td></tr>
|
||||
<tr class="separator:ad47196c6a06f99a1437e9569bae13c5f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab64e6838b9026996a18766d334beea20"><td class="memItemLeft" align="right" valign="top"><a id="ab64e6838b9026996a18766d334beea20" name="ab64e6838b9026996a18766d334beea20"></a>
|
||||
<tr class="memitem:ab64e6838b9026996a18766d334beea20" id="r_ab64e6838b9026996a18766d334beea20"><td class="memItemLeft" align="right" valign="top"><a id="ab64e6838b9026996a18766d334beea20" name="ab64e6838b9026996a18766d334beea20"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>MAX_HEX_STR_LEN</b>   17 /* FFFF_FFFF_FFFF_FFFF */</td></tr>
|
||||
<tr class="separator:ab64e6838b9026996a18766d334beea20"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ab83549c0d43c88544be47fa6c4885ae4"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dd9/hexadecimal__to__octal2_8c.html#ab83549c0d43c88544be47fa6c4885ae4">hex_to_oct</a> (const char *hex)</td></tr>
|
||||
<tr class="memitem:ab83549c0d43c88544be47fa6c4885ae4" id="r_ab83549c0d43c88544be47fa6c4885ae4"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dd9/hexadecimal__to__octal2_8c.html#ab83549c0d43c88544be47fa6c4885ae4">hex_to_oct</a> (const char *hex)</td></tr>
|
||||
<tr class="memdesc:ab83549c0d43c88544be47fa6c4885ae4"><td class="mdescLeft"> </td><td class="mdescRight">for printf() and fgets() <br /></td></tr>
|
||||
<tr class="separator:ab83549c0d43c88544be47fa6c4885ae4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dd9/hexadecimal__to__octal2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dd9/hexadecimal__to__octal2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -289,7 +289,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9babc524d57e25f3d9f4179cabc3599e.html">conversions</a></li><li class="navelem"><a class="el" href="../../d0/dd9/hexadecimal__to__octal2_8c.html">hexadecimal_to_octal2.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Array</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -124,7 +124,7 @@ Files</h1>
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: hash_set_t Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -105,16 +105,16 @@ $(document).ready(function(){initNavTree('d0/df1/structhash__set__t.html','../..
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a6f21e4fb262dbabac311dadc7936aa68"><td class="memItemLeft" align="right" valign="top"><a id="a6f21e4fb262dbabac311dadc7936aa68" name="a6f21e4fb262dbabac311dadc7936aa68"></a>
|
||||
<tr class="memitem:a6f21e4fb262dbabac311dadc7936aa68" id="r_a6f21e4fb262dbabac311dadc7936aa68"><td class="memItemLeft" align="right" valign="top"><a id="a6f21e4fb262dbabac311dadc7936aa68" name="a6f21e4fb262dbabac311dadc7936aa68"></a>
|
||||
unsigned </td><td class="memItemRight" valign="bottom"><b>capacity</b></td></tr>
|
||||
<tr class="separator:a6f21e4fb262dbabac311dadc7936aa68"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5fd11ba3c74b2cc7fd161696fb951b82"><td class="memItemLeft" align="right" valign="top"><a id="a5fd11ba3c74b2cc7fd161696fb951b82" name="a5fd11ba3c74b2cc7fd161696fb951b82"></a>
|
||||
<tr class="memitem:a5fd11ba3c74b2cc7fd161696fb951b82" id="r_a5fd11ba3c74b2cc7fd161696fb951b82"><td class="memItemLeft" align="right" valign="top"><a id="a5fd11ba3c74b2cc7fd161696fb951b82" name="a5fd11ba3c74b2cc7fd161696fb951b82"></a>
|
||||
unsigned </td><td class="memItemRight" valign="bottom"><b>length</b></td></tr>
|
||||
<tr class="separator:a5fd11ba3c74b2cc7fd161696fb951b82"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a66e37043817e37030d2e49fd5bf81d7f"><td class="memItemLeft" align="right" valign="top"><a id="a66e37043817e37030d2e49fd5bf81d7f" name="a66e37043817e37030d2e49fd5bf81d7f"></a>
|
||||
<tr class="memitem:a66e37043817e37030d2e49fd5bf81d7f" id="r_a66e37043817e37030d2e49fd5bf81d7f"><td class="memItemLeft" align="right" valign="top"><a id="a66e37043817e37030d2e49fd5bf81d7f" name="a66e37043817e37030d2e49fd5bf81d7f"></a>
|
||||
void ** </td><td class="memItemRight" valign="bottom"><b>values</b></td></tr>
|
||||
<tr class="separator:a66e37043817e37030d2e49fd5bf81d7f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1b52c6b78642e398f574c2ec9ed22e8a"><td class="memItemLeft" align="right" valign="top"><a id="a1b52c6b78642e398f574c2ec9ed22e8a" name="a1b52c6b78642e398f574c2ec9ed22e8a"></a>
|
||||
<tr class="memitem:a1b52c6b78642e398f574c2ec9ed22e8a" id="r_a1b52c6b78642e398f574c2ec9ed22e8a"><td class="memItemLeft" align="right" valign="top"><a id="a1b52c6b78642e398f574c2ec9ed22e8a" name="a1b52c6b78642e398f574c2ec9ed22e8a"></a>
|
||||
void ** </td><td class="memItemRight" valign="bottom"><b>keys</b></td></tr>
|
||||
<tr class="separator:a1b52c6b78642e398f574c2ec9ed22e8a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -127,7 +127,7 @@ void ** </td><td class="memItemRight" valign="bottom"><b>keys</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d0/df1/structhash__set__t.html">hash_set_t</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: leetcode/src/6.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,16 +118,16 @@ Include dependency graph for 6.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:afdf3bfe2dc8aadac13c7e6d051d3bd5d"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df3/6_8c.html#afdf3bfe2dc8aadac13c7e6d051d3bd5d">convert</a> (char *in, uint16_t numRows)</td></tr>
|
||||
<tr class="memitem:afdf3bfe2dc8aadac13c7e6d051d3bd5d" id="r_afdf3bfe2dc8aadac13c7e6d051d3bd5d"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df3/6_8c.html#afdf3bfe2dc8aadac13c7e6d051d3bd5d">convert</a> (char *in, uint16_t numRows)</td></tr>
|
||||
<tr class="memdesc:afdf3bfe2dc8aadac13c7e6d051d3bd5d"><td class="mdescLeft"> </td><td class="mdescRight">for assert for unsigned int with fixed size <br /></td></tr>
|
||||
<tr class="separator:afdf3bfe2dc8aadac13c7e6d051d3bd5d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a109c3813445bcf97d154a671119deae9"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df3/6_8c.html#a109c3813445bcf97d154a671119deae9">testZigZag</a> (char *s, int numRows, char *expected)</td></tr>
|
||||
<tr class="memitem:a109c3813445bcf97d154a671119deae9" id="r_a109c3813445bcf97d154a671119deae9"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df3/6_8c.html#a109c3813445bcf97d154a671119deae9">testZigZag</a> (char *s, int numRows, char *expected)</td></tr>
|
||||
<tr class="memdesc:a109c3813445bcf97d154a671119deae9"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:a109c3813445bcf97d154a671119deae9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df3/6_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df3/6_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df3/6_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe" id="r_a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df3/6_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -399,7 +399,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_03902f230b9e9b7c999f936617a23997.html">leetcode</a></li><li class="navelem"><a class="el" href="../../dir_614f310c248f2b9541b559085cafcb40.html">src</a></li><li class="navelem"><a class="el" href="../../d0/df3/6_8c.html">6.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: game_instance Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,27 +108,27 @@ $(document).ready(function(){initNavTree('d1/d01/structgame__instance.html','../
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:ad3caed9fb908aa7dba2aa25e8debdfdf"><td class="memItemLeft" align="right" valign="top"><a id="ad3caed9fb908aa7dba2aa25e8debdfdf" name="ad3caed9fb908aa7dba2aa25e8debdfdf"></a>
|
||||
<tr class="memitem:ad3caed9fb908aa7dba2aa25e8debdfdf" id="r_ad3caed9fb908aa7dba2aa25e8debdfdf"><td class="memItemLeft" align="right" valign="top"><a id="ad3caed9fb908aa7dba2aa25e8debdfdf" name="ad3caed9fb908aa7dba2aa25e8debdfdf"></a>
|
||||
char </td><td class="memItemRight" valign="bottom"><b>current_word</b> [30]</td></tr>
|
||||
<tr class="memdesc:ad3caed9fb908aa7dba2aa25e8debdfdf"><td class="mdescLeft"> </td><td class="mdescRight">word to be guessed by player <br /></td></tr>
|
||||
<tr class="separator:ad3caed9fb908aa7dba2aa25e8debdfdf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aabb340e08e8ab73df250a6fe3b6f532d"><td class="memItemLeft" align="right" valign="top"><a id="aabb340e08e8ab73df250a6fe3b6f532d" name="aabb340e08e8ab73df250a6fe3b6f532d"></a>
|
||||
<tr class="memitem:aabb340e08e8ab73df250a6fe3b6f532d" id="r_aabb340e08e8ab73df250a6fe3b6f532d"><td class="memItemLeft" align="right" valign="top"><a id="aabb340e08e8ab73df250a6fe3b6f532d" name="aabb340e08e8ab73df250a6fe3b6f532d"></a>
|
||||
char </td><td class="memItemRight" valign="bottom"><b>hidden</b> [30]</td></tr>
|
||||
<tr class="memdesc:aabb340e08e8ab73df250a6fe3b6f532d"><td class="mdescLeft"> </td><td class="mdescRight">hidden version of word that is displayed to player <br /></td></tr>
|
||||
<tr class="separator:aabb340e08e8ab73df250a6fe3b6f532d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae7d4369a86942792c809a51965764094"><td class="memItemLeft" align="right" valign="top"><a id="ae7d4369a86942792c809a51965764094" name="ae7d4369a86942792c809a51965764094"></a>
|
||||
<tr class="memitem:ae7d4369a86942792c809a51965764094" id="r_ae7d4369a86942792c809a51965764094"><td class="memItemLeft" align="right" valign="top"><a id="ae7d4369a86942792c809a51965764094" name="ae7d4369a86942792c809a51965764094"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>size</b></td></tr>
|
||||
<tr class="memdesc:ae7d4369a86942792c809a51965764094"><td class="mdescLeft"> </td><td class="mdescRight">size of word <br /></td></tr>
|
||||
<tr class="separator:ae7d4369a86942792c809a51965764094"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a89731a7d5b4676db9ccc4b0db2cd8f24"><td class="memItemLeft" align="right" valign="top"><a id="a89731a7d5b4676db9ccc4b0db2cd8f24" name="a89731a7d5b4676db9ccc4b0db2cd8f24"></a>
|
||||
<tr class="memitem:a89731a7d5b4676db9ccc4b0db2cd8f24" id="r_a89731a7d5b4676db9ccc4b0db2cd8f24"><td class="memItemLeft" align="right" valign="top"><a id="a89731a7d5b4676db9ccc4b0db2cd8f24" name="a89731a7d5b4676db9ccc4b0db2cd8f24"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>incorrect</b></td></tr>
|
||||
<tr class="memdesc:a89731a7d5b4676db9ccc4b0db2cd8f24"><td class="mdescLeft"> </td><td class="mdescRight">number of incorrect guesses <br /></td></tr>
|
||||
<tr class="separator:a89731a7d5b4676db9ccc4b0db2cd8f24"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a742506bd6e2e03ce63e504ef6abdf643"><td class="memItemLeft" align="right" valign="top"><a id="a742506bd6e2e03ce63e504ef6abdf643" name="a742506bd6e2e03ce63e504ef6abdf643"></a>
|
||||
<tr class="memitem:a742506bd6e2e03ce63e504ef6abdf643" id="r_a742506bd6e2e03ce63e504ef6abdf643"><td class="memItemLeft" align="right" valign="top"><a id="a742506bd6e2e03ce63e504ef6abdf643" name="a742506bd6e2e03ce63e504ef6abdf643"></a>
|
||||
char </td><td class="memItemRight" valign="bottom"><b>guesses</b> [25]</td></tr>
|
||||
<tr class="memdesc:a742506bd6e2e03ce63e504ef6abdf643"><td class="mdescLeft"> </td><td class="mdescRight">previous guesses <br /></td></tr>
|
||||
<tr class="separator:a742506bd6e2e03ce63e504ef6abdf643"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:affc18c8be0e07b6b19914458ed853aa7"><td class="memItemLeft" align="right" valign="top"><a id="affc18c8be0e07b6b19914458ed853aa7" name="affc18c8be0e07b6b19914458ed853aa7"></a>
|
||||
<tr class="memitem:affc18c8be0e07b6b19914458ed853aa7" id="r_affc18c8be0e07b6b19914458ed853aa7"><td class="memItemLeft" align="right" valign="top"><a id="affc18c8be0e07b6b19914458ed853aa7" name="affc18c8be0e07b6b19914458ed853aa7"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>guesses_size</b></td></tr>
|
||||
<tr class="memdesc:affc18c8be0e07b6b19914458ed853aa7"><td class="mdescLeft"> </td><td class="mdescRight">size of guesses array <br /></td></tr>
|
||||
<tr class="separator:affc18c8be0e07b6b19914458ed853aa7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -144,7 +144,7 @@ int </td><td class="memItemRight" valign="bottom"><b>guesses_size</b></td><
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d1/d01/structgame__instance.html">game_instance</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: client_server/server.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -121,24 +121,24 @@ Include dependency graph for server.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a392fb874e547e582e9c66a08a1f23326"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d20/server_8c.html#a392fb874e547e582e9c66a08a1f23326">MAX</a>   80</td></tr>
|
||||
<tr class="memitem:a392fb874e547e582e9c66a08a1f23326" id="r_a392fb874e547e582e9c66a08a1f23326"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d20/server_8c.html#a392fb874e547e582e9c66a08a1f23326">MAX</a>   80</td></tr>
|
||||
<tr class="memdesc:a392fb874e547e582e9c66a08a1f23326"><td class="mdescLeft"> </td><td class="mdescRight">max. <br /></td></tr>
|
||||
<tr class="separator:a392fb874e547e582e9c66a08a1f23326"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a614217d263be1fb1a5f76e2ff7be19a2"><td class="memItemLeft" align="right" valign="top"><a id="a614217d263be1fb1a5f76e2ff7be19a2" name="a614217d263be1fb1a5f76e2ff7be19a2"></a>
|
||||
<tr class="memitem:a614217d263be1fb1a5f76e2ff7be19a2" id="r_a614217d263be1fb1a5f76e2ff7be19a2"><td class="memItemLeft" align="right" valign="top"><a id="a614217d263be1fb1a5f76e2ff7be19a2" name="a614217d263be1fb1a5f76e2ff7be19a2"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>PORT</b>   8080</td></tr>
|
||||
<tr class="memdesc:a614217d263be1fb1a5f76e2ff7be19a2"><td class="mdescLeft"> </td><td class="mdescRight">port number to connect to <br /></td></tr>
|
||||
<tr class="separator:a614217d263be1fb1a5f76e2ff7be19a2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1e43924adac4ae865aa0acf79710261c"><td class="memItemLeft" align="right" valign="top"><a id="a1e43924adac4ae865aa0acf79710261c" name="a1e43924adac4ae865aa0acf79710261c"></a>
|
||||
<tr class="memitem:a1e43924adac4ae865aa0acf79710261c" id="r_a1e43924adac4ae865aa0acf79710261c"><td class="memItemLeft" align="right" valign="top"><a id="a1e43924adac4ae865aa0acf79710261c" name="a1e43924adac4ae865aa0acf79710261c"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>SA</b>   struct sockaddr</td></tr>
|
||||
<tr class="memdesc:a1e43924adac4ae865aa0acf79710261c"><td class="mdescLeft"> </td><td class="mdescRight">shortname for sockaddr <br /></td></tr>
|
||||
<tr class="separator:a1e43924adac4ae865aa0acf79710261c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ac17020a38607ab29ce18939d5194a32a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d20/server_8c.html#ac17020a38607ab29ce18939d5194a32a">func</a> (int sockfd)</td></tr>
|
||||
<tr class="memitem:ac17020a38607ab29ce18939d5194a32a" id="r_ac17020a38607ab29ce18939d5194a32a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d20/server_8c.html#ac17020a38607ab29ce18939d5194a32a">func</a> (int sockfd)</td></tr>
|
||||
<tr class="memdesc:ac17020a38607ab29ce18939d5194a32a"><td class="mdescLeft"> </td><td class="mdescRight">Continuous loop to send and receive over the socket. <br /></td></tr>
|
||||
<tr class="separator:ac17020a38607ab29ce18939d5194a32a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d20/server_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d20/server_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Driver code. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -336,7 +336,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_d20ad0b8de644c123692ba5582cc7a7b.html">client_server</a></li><li class="navelem"><a class="el" href="../../d1/d20/server_8c.html">server.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_7/sol.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -115,7 +115,7 @@ Include dependency graph for sol.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d2f/problem__7_2sol_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe" id="r_a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d2f/problem__7_2sol_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -180,7 +180,7 @@ Functions</h2></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_4bae997a2671812c2140d5abfb6305a4.html">problem_7</a></li><li class="navelem"><a class="el" href="../../d1/d2f/problem__7_2sol_8c.html">sol.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Dictionary</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -129,7 +129,7 @@ Overview about functions</h2>
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: observation Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -105,15 +105,15 @@ $(document).ready(function(){initNavTree('d1/d5e/structobservation.html','../../
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a04f3dcfd59dd91353395e35c9831fade"><td class="memItemLeft" align="right" valign="top"><a id="a04f3dcfd59dd91353395e35c9831fade" name="a04f3dcfd59dd91353395e35c9831fade"></a>
|
||||
<tr class="memitem:a04f3dcfd59dd91353395e35c9831fade" id="r_a04f3dcfd59dd91353395e35c9831fade"><td class="memItemLeft" align="right" valign="top"><a id="a04f3dcfd59dd91353395e35c9831fade" name="a04f3dcfd59dd91353395e35c9831fade"></a>
|
||||
double </td><td class="memItemRight" valign="bottom"><b>x</b></td></tr>
|
||||
<tr class="memdesc:a04f3dcfd59dd91353395e35c9831fade"><td class="mdescLeft"> </td><td class="mdescRight">abscissa of 2D data point <br /></td></tr>
|
||||
<tr class="separator:a04f3dcfd59dd91353395e35c9831fade"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab6be1fa7024b2d5f3a30d6c6b70efdd7"><td class="memItemLeft" align="right" valign="top"><a id="ab6be1fa7024b2d5f3a30d6c6b70efdd7" name="ab6be1fa7024b2d5f3a30d6c6b70efdd7"></a>
|
||||
<tr class="memitem:ab6be1fa7024b2d5f3a30d6c6b70efdd7" id="r_ab6be1fa7024b2d5f3a30d6c6b70efdd7"><td class="memItemLeft" align="right" valign="top"><a id="ab6be1fa7024b2d5f3a30d6c6b70efdd7" name="ab6be1fa7024b2d5f3a30d6c6b70efdd7"></a>
|
||||
double </td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
|
||||
<tr class="memdesc:ab6be1fa7024b2d5f3a30d6c6b70efdd7"><td class="mdescLeft"> </td><td class="mdescRight">ordinate of 2D data point <br /></td></tr>
|
||||
<tr class="separator:ab6be1fa7024b2d5f3a30d6c6b70efdd7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2db8ace685c08aa7b52f5a28b0843aab"><td class="memItemLeft" align="right" valign="top"><a id="a2db8ace685c08aa7b52f5a28b0843aab" name="a2db8ace685c08aa7b52f5a28b0843aab"></a>
|
||||
<tr class="memitem:a2db8ace685c08aa7b52f5a28b0843aab" id="r_a2db8ace685c08aa7b52f5a28b0843aab"><td class="memItemLeft" align="right" valign="top"><a id="a2db8ace685c08aa7b52f5a28b0843aab" name="a2db8ace685c08aa7b52f5a28b0843aab"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>group</b></td></tr>
|
||||
<tr class="memdesc:a2db8ace685c08aa7b52f5a28b0843aab"><td class="mdescLeft"> </td><td class="mdescRight">the group no in which this observation would go <br /></td></tr>
|
||||
<tr class="separator:a2db8ace685c08aa7b52f5a28b0843aab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -129,7 +129,7 @@ int </td><td class="memItemRight" valign="bottom"><b>group</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d1/d5e/structobservation.html">observation</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Kohonen SOM topology algorithm</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,36 +118,36 @@ Data Structures</h2></td></tr>
|
|||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:gaffe776513b24d84b39af8ab0930fef7f"><td class="memItemLeft" align="right" valign="top"><a id="gaffe776513b24d84b39af8ab0930fef7f" name="gaffe776513b24d84b39af8ab0930fef7f"></a>
|
||||
<tr class="memitem:gaffe776513b24d84b39af8ab0930fef7f" id="r_gaffe776513b24d84b39af8ab0930fef7f"><td class="memItemLeft" align="right" valign="top"><a id="gaffe776513b24d84b39af8ab0930fef7f" name="gaffe776513b24d84b39af8ab0930fef7f"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>max</b>(a, b)   (((a) > (b)) ? (a) : (b))</td></tr>
|
||||
<tr class="memdesc:gaffe776513b24d84b39af8ab0930fef7f"><td class="mdescLeft"> </td><td class="mdescRight">shorthand for maximum value <br /></td></tr>
|
||||
<tr class="separator:gaffe776513b24d84b39af8ab0930fef7f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gac6afabdc09a49a433ee19d8a9486056d"><td class="memItemLeft" align="right" valign="top"><a id="gac6afabdc09a49a433ee19d8a9486056d" name="gac6afabdc09a49a433ee19d8a9486056d"></a>
|
||||
<tr class="memitem:gac6afabdc09a49a433ee19d8a9486056d" id="r_gac6afabdc09a49a433ee19d8a9486056d"><td class="memItemLeft" align="right" valign="top"><a id="gac6afabdc09a49a433ee19d8a9486056d" name="gac6afabdc09a49a433ee19d8a9486056d"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>min</b>(a, b)   (((a) < (b)) ? (a) : (b))</td></tr>
|
||||
<tr class="memdesc:gac6afabdc09a49a433ee19d8a9486056d"><td class="mdescLeft"> </td><td class="mdescRight">shorthand for minimum value <br /></td></tr>
|
||||
<tr class="separator:gac6afabdc09a49a433ee19d8a9486056d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:gac78022076d889bf2ebfb2c41d4527ceb"><td class="memItemLeft" align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gac78022076d889bf2ebfb2c41d4527ceb">kohonen_data_3d</a> (const struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *arr, int x, int y, int z)</td></tr>
|
||||
<tr class="memitem:gac78022076d889bf2ebfb2c41d4527ceb" id="r_gac78022076d889bf2ebfb2c41d4527ceb"><td class="memItemLeft" align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gac78022076d889bf2ebfb2c41d4527ceb">kohonen_data_3d</a> (const struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *arr, int x, int y, int z)</td></tr>
|
||||
<tr class="memdesc:gac78022076d889bf2ebfb2c41d4527ceb"><td class="mdescLeft"> </td><td class="mdescRight">Function that returns the pointer to (x, y, z) ^th location in the linear 3D array given by: <br /></td></tr>
|
||||
<tr class="separator:gac78022076d889bf2ebfb2c41d4527ceb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaf5ce14f026d6d231bef29161bac2b485"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a> (double a, double b)</td></tr>
|
||||
<tr class="memitem:gaf5ce14f026d6d231bef29161bac2b485" id="r_gaf5ce14f026d6d231bef29161bac2b485"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a> (double a, double b)</td></tr>
|
||||
<tr class="memdesc:gaf5ce14f026d6d231bef29161bac2b485"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to generate a random number in a given interval. <br /></td></tr>
|
||||
<tr class="separator:gaf5ce14f026d6d231bef29161bac2b485"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga6824dc6d973eb3339af7aef5fea78b0c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga6824dc6d973eb3339af7aef5fea78b0c">save_2d_data</a> (const char *fname, double **X, int num_points, int num_features)</td></tr>
|
||||
<tr class="memitem:ga6824dc6d973eb3339af7aef5fea78b0c" id="r_ga6824dc6d973eb3339af7aef5fea78b0c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga6824dc6d973eb3339af7aef5fea78b0c">save_2d_data</a> (const char *fname, double **X, int num_points, int num_features)</td></tr>
|
||||
<tr class="memdesc:ga6824dc6d973eb3339af7aef5fea78b0c"><td class="mdescLeft"> </td><td class="mdescRight">Save a given n-dimensional data martix to file. <br /></td></tr>
|
||||
<tr class="separator:ga6824dc6d973eb3339af7aef5fea78b0c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga49d35f68f5d11d8ef6f8cce0d0e7bcba"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga49d35f68f5d11d8ef6f8cce0d0e7bcba">save_u_matrix</a> (const char *fname, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W)</td></tr>
|
||||
<tr class="memitem:ga49d35f68f5d11d8ef6f8cce0d0e7bcba" id="r_ga49d35f68f5d11d8ef6f8cce0d0e7bcba"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga49d35f68f5d11d8ef6f8cce0d0e7bcba">save_u_matrix</a> (const char *fname, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W)</td></tr>
|
||||
<tr class="memdesc:ga49d35f68f5d11d8ef6f8cce0d0e7bcba"><td class="mdescLeft"> </td><td class="mdescRight">Create the distance matrix or <a href="https://en.wikipedia.org/wiki/U-matrix" target="_blank">U-matrix</a> from the trained weights and save to disk. <br /></td></tr>
|
||||
<tr class="separator:ga49d35f68f5d11d8ef6f8cce0d0e7bcba"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gadc22d512c00a9f5799ee067f4fb90b4b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gadc22d512c00a9f5799ee067f4fb90b4b">get_min_2d</a> (double **X, int N, double *val, int *x_idx, int *y_idx)</td></tr>
|
||||
<tr class="memitem:gadc22d512c00a9f5799ee067f4fb90b4b" id="r_gadc22d512c00a9f5799ee067f4fb90b4b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gadc22d512c00a9f5799ee067f4fb90b4b">get_min_2d</a> (double **X, int N, double *val, int *x_idx, int *y_idx)</td></tr>
|
||||
<tr class="memdesc:gadc22d512c00a9f5799ee067f4fb90b4b"><td class="mdescLeft"> </td><td class="mdescRight">Get minimum value and index of the value in a matrix. <br /></td></tr>
|
||||
<tr class="separator:gadc22d512c00a9f5799ee067f4fb90b4b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga83abb572c60d202e100595a989dfe123"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga83abb572c60d202e100595a989dfe123">kohonen_update_weights</a> (const double *X, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W, double **D, int num_out, int num_features, double alpha, int R)</td></tr>
|
||||
<tr class="memitem:ga83abb572c60d202e100595a989dfe123" id="r_ga83abb572c60d202e100595a989dfe123"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga83abb572c60d202e100595a989dfe123">kohonen_update_weights</a> (const double *X, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W, double **D, int num_out, int num_features, double alpha, int R)</td></tr>
|
||||
<tr class="memdesc:ga83abb572c60d202e100595a989dfe123"><td class="mdescLeft"> </td><td class="mdescRight">Update weights of the SOM using Kohonen algorithm. <br /></td></tr>
|
||||
<tr class="separator:ga83abb572c60d202e100595a989dfe123"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gacb42eda8af6ebd6a141a34ab00a0b710"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gacb42eda8af6ebd6a141a34ab00a0b710">kohonen_som</a> (double **X, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W, int num_samples, int num_features, int num_out, double alpha_min)</td></tr>
|
||||
<tr class="memitem:gacb42eda8af6ebd6a141a34ab00a0b710" id="r_gacb42eda8af6ebd6a141a34ab00a0b710"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gacb42eda8af6ebd6a141a34ab00a0b710">kohonen_som</a> (double **X, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W, int num_samples, int num_features, int num_out, double alpha_min)</td></tr>
|
||||
<tr class="memdesc:gacb42eda8af6ebd6a141a34ab00a0b710"><td class="mdescLeft"> </td><td class="mdescRight">Apply incremental algorithm with updating neighborhood and learning rates on all samples in the given datset. <br /></td></tr>
|
||||
<tr class="separator:gacb42eda8af6ebd6a141a34ab00a0b710"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -781,7 +781,7 @@ Here is the call graph for this function:</div>
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: client_server/tcp_full_duplex_server.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -109,13 +109,13 @@ $(document).ready(function(){initNavTree('d1/d6b/tcp__full__duplex__server_8c.ht
|
|||
<div class="textblock"><code>#include <arpa/inet.h></code><br />
|
||||
<code>#include <netdb.h></code><br />
|
||||
<code>#include <netinet/in.h></code><br />
|
||||
<code>#include <sys/socket.h></code><br />
|
||||
<code>#include <sys/types.h></code><br />
|
||||
<code>#include <unistd.h></code><br />
|
||||
<code>#include <stdint.h></code><br />
|
||||
<code>#include <stdio.h></code><br />
|
||||
<code>#include <stdlib.h></code><br />
|
||||
<code>#include <string.h></code><br />
|
||||
<code>#include <sys/socket.h></code><br />
|
||||
<code>#include <sys/types.h></code><br />
|
||||
<code>#include <unistd.h></code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for tcp_full_duplex_server.c:</div>
|
||||
<div class="dyncontent">
|
||||
|
@ -124,23 +124,23 @@ Include dependency graph for tcp_full_duplex_server.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a614217d263be1fb1a5f76e2ff7be19a2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a>   10000</td></tr>
|
||||
<tr class="memdesc:a614217d263be1fb1a5f76e2ff7be19a2"><td class="mdescLeft"> </td><td class="mdescRight">For the type in_addr_t and in_port_t For structures returned by the network database library - formatted internet addresses and port numbers For in_addr and sockaddr_in structures. <br /></td></tr>
|
||||
<tr class="memitem:a614217d263be1fb1a5f76e2ff7be19a2" id="r_a614217d263be1fb1a5f76e2ff7be19a2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a>   10000</td></tr>
|
||||
<tr class="memdesc:a614217d263be1fb1a5f76e2ff7be19a2"><td class="mdescLeft"> </td><td class="mdescRight">For the type in_addr_t and in_port_t For structures returned by the network database library - formatted internet addresses and port numbers For in_addr and sockaddr_in structures For macro definitions related to the creation of sockets For definitions to allow for the porting of BSD programs. <br /></td></tr>
|
||||
<tr class="separator:a614217d263be1fb1a5f76e2ff7be19a2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a7e15c8e2885871839fc2b820dfbdb4ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a> ()</td></tr>
|
||||
<tr class="memitem:a7e15c8e2885871839fc2b820dfbdb4ce" id="r_a7e15c8e2885871839fc2b820dfbdb4ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a> ()</td></tr>
|
||||
<tr class="memdesc:a7e15c8e2885871839fc2b820dfbdb4ce"><td class="mdescLeft"> </td><td class="mdescRight">Utility function used to print an error message to <code>stderr</code>. <br /></td></tr>
|
||||
<tr class="separator:a7e15c8e2885871839fc2b820dfbdb4ce"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/tcp__full__duplex__server_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/tcp__full__duplex__server_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Server-side implementation of <a href="http://www.tcpipguide.com/free/t_SimplexFullDuplexandHalfDuplexOperation.htm" target="_blank">TCP Full Duplex Communication</a> </p>
|
||||
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/NVombat" target="_blank">NVombat</a> </dd></dl>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d1/d6b/tcp__full__duplex__server_8c.html" title="Server-side implementation of TCP Full Duplex Communication">tcp_full_duplex_server.c</a></dd></dl>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d1/d98/tcp__full__duplex__client_8c.html" title="Client-side implementation of TCP Full Duplex Communication">tcp_full_duplex_client.c</a></dd></dl>
|
||||
<p>The algorithm is based on the simple TCP client and server model. However, instead of the server only sending and the client only receiving data, The server and client can both send and receive data simultaneously. This is implemented by using the <code>fork</code> function call so that in the server the child process can receive data and parent process can send data, and in the client the child process can send data and the parent process can receive data. It runs an infinite loop and can send and receive messages indefinitely until the user exits the loop. In this way, the Full Duplex Form of communication can be represented using the TCP server-client model & socket programming </p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="a614217d263be1fb1a5f76e2ff7be19a2" name="a614217d263be1fb1a5f76e2ff7be19a2"></a>
|
||||
|
@ -155,8 +155,8 @@ Functions</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>For the type in_addr_t and in_port_t For structures returned by the network database library - formatted internet addresses and port numbers For in_addr and sockaddr_in structures. </p>
|
||||
<p>For specific bit size values of variables Variable types, several macros, and various functions for performing input and output Variable types, several macros, and various functions for performing general functions Various functions for manipulating arrays of characters For macro definitions related to the creation of sockets For definitions to allow for the porting of BSD programs For miscellaneous symbolic constants and types, and miscellaneous functions </p>
|
||||
<p>For the type in_addr_t and in_port_t For structures returned by the network database library - formatted internet addresses and port numbers For in_addr and sockaddr_in structures For macro definitions related to the creation of sockets For definitions to allow for the porting of BSD programs. </p>
|
||||
<p>For specific bit size values of variables Variable types, several macros, and various functions for performing input and output Variable types, several macros, and various functions for performing general functions Various functions for manipulating arrays of characters </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -178,10 +178,10 @@ Functions</h2></td></tr>
|
|||
|
||||
<p>Utility function used to print an error message to <code>stderr</code>. </p>
|
||||
<p>It prints <code>str</code> and an implementation-defined error message corresponding to the global variable <code>errno</code>. </p><dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 40</span>{</div>
|
||||
<div class="line"><span class="lineno"> 41</span> perror(<span class="stringliteral">"Socket Creation Failed"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 42</span> exit(EXIT_FAILURE);</div>
|
||||
<div class="line"><span class="lineno"> 43</span>}</div>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 53</span>{</div>
|
||||
<div class="line"><span class="lineno"> 54</span> perror(<span class="stringliteral">"Socket Creation Failed"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 55</span> exit(EXIT_FAILURE);</div>
|
||||
<div class="line"><span class="lineno"> 56</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
|
@ -235,155 +235,163 @@ Functions</h2></td></tr>
|
|||
<p>Value of 0 is for child process</p>
|
||||
<p>Parent process</p>
|
||||
<p>Close socket</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 50</span>{<span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 51</span><span class="comment"> /** Variable Declarations */</span></div>
|
||||
<div class="line"><span class="lineno"> 52</span> uint32_t sockfd,</div>
|
||||
<div class="line"><span class="lineno"> 53</span> conn; <span class="comment">///< socket descriptors - Like file handles but for sockets</span></div>
|
||||
<div class="line"><span class="lineno"> 54</span> <span class="keywordtype">char</span> recvbuff[1024],</div>
|
||||
<div class="line"><span class="lineno"> 55</span> sendbuff[1024]; <span class="comment">///< character arrays to read and store string data</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 56</span><span class="comment"> /// for communication</span></div>
|
||||
<div class="line"><span class="lineno"> 57</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 58</span> <span class="keyword">struct </span>sockaddr_in server_addr,</div>
|
||||
<div class="line"><span class="lineno"> 59</span> client_addr; <span class="comment">///< basic structures for all syscalls and functions that</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 60</span><span class="comment"> /// deal with internet addresses. Structures for handling</span></div>
|
||||
<div class="line"><span class="lineno"> 61</span><span class="comment"> /// internet addresses</span></div>
|
||||
<div class="line"><span class="lineno"> 62</span><span class="comment"></span> socklen_t ClientLen; <span class="comment">/// size of address</span></div>
|
||||
<div class="line"><span class="lineno"> 63</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 64</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 65</span><span class="comment"> * The TCP socket is created using the socket function</span></div>
|
||||
<div class="line"><span class="lineno"> 66</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 67</span><span class="comment"> * AF_INET (Family) - it is an address family that is used to designate the</span></div>
|
||||
<div class="line"><span class="lineno"> 68</span><span class="comment"> * type of addresses that your socket can communicate with</span></div>
|
||||
<div class="line"><span class="lineno"> 69</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 70</span><span class="comment"> * SOCK_STREAM (Type) - Indicates TCP Connection - A stream socket provides</span></div>
|
||||
<div class="line"><span class="lineno"> 71</span><span class="comment"> * for the bidirectional, reliable, sequenced, and unduplicated flow of data</span></div>
|
||||
<div class="line"><span class="lineno"> 72</span><span class="comment"> * without record boundaries. Aside from the bidirectionality of data flow,</span></div>
|
||||
<div class="line"><span class="lineno"> 73</span><span class="comment"> * a pair of connected stream sockets provides an interface nearly identical</span></div>
|
||||
<div class="line"><span class="lineno"> 74</span><span class="comment"> * to pipes</span></div>
|
||||
<div class="line"><span class="lineno"> 75</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 76</span><span class="comment"> * 0 (Protocol) - Specifies a particular protocol to be used with the</span></div>
|
||||
<div class="line"><span class="lineno"> 77</span><span class="comment"> * socket. Specifying a protocol of 0 causes socket() to use an unspecified</span></div>
|
||||
<div class="line"><span class="lineno"> 78</span><span class="comment"> * default protocol appropriate for the requested socket type</span></div>
|
||||
<div class="line"><span class="lineno"> 79</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 80</span> <span class="keywordflow">if</span> ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0)</div>
|
||||
<div class="line"><span class="lineno"> 81</span> {</div>
|
||||
<div class="line"><span class="lineno"> 82</span> <a class="code hl_function" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a>(); <span class="comment">///< Error if the socket descriptor has a value lower than 0 -</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 83</span><span class="comment"> /// socket wasnt created</span></div>
|
||||
<div class="line"><span class="lineno"> 84</span><span class="comment"></span> }</div>
|
||||
<div class="line"><span class="lineno"> 85</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 86</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 87</span><span class="comment"> * Server Address Information</span></div>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 63</span>{<span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 64</span><span class="comment"> /** Variable Declarations */</span></div>
|
||||
<div class="line"><span class="lineno"> 65</span> uint32_t sockfd,</div>
|
||||
<div class="line"><span class="lineno"> 66</span> conn; <span class="comment">///< socket descriptors - Like file handles but for sockets</span></div>
|
||||
<div class="line"><span class="lineno"> 67</span> <span class="keywordtype">char</span> recvbuff[1024],</div>
|
||||
<div class="line"><span class="lineno"> 68</span> sendbuff[1024]; <span class="comment">///< character arrays to read and store string data</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 69</span><span class="comment"> /// for communication</span></div>
|
||||
<div class="line"><span class="lineno"> 70</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 71</span> <span class="keyword">struct </span>sockaddr_in server_addr,</div>
|
||||
<div class="line"><span class="lineno"> 72</span> client_addr; <span class="comment">///< basic structures for all syscalls and functions that</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 73</span><span class="comment"> /// deal with internet addresses. Structures for handling</span></div>
|
||||
<div class="line"><span class="lineno"> 74</span><span class="comment"> /// internet addresses</span></div>
|
||||
<div class="line"><span class="lineno"> 75</span><span class="comment"></span> socklen_t ClientLen; <span class="comment">/// size of address</span></div>
|
||||
<div class="line"><span class="lineno"> 76</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 77</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 78</span><span class="comment"> * The TCP socket is created using the socket function</span></div>
|
||||
<div class="line"><span class="lineno"> 79</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 80</span><span class="comment"> * AF_INET (Family) - it is an address family that is used to designate the</span></div>
|
||||
<div class="line"><span class="lineno"> 81</span><span class="comment"> * type of addresses that your socket can communicate with</span></div>
|
||||
<div class="line"><span class="lineno"> 82</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 83</span><span class="comment"> * SOCK_STREAM (Type) - Indicates TCP Connection - A stream socket provides</span></div>
|
||||
<div class="line"><span class="lineno"> 84</span><span class="comment"> * for the bidirectional, reliable, sequenced, and unduplicated flow of data</span></div>
|
||||
<div class="line"><span class="lineno"> 85</span><span class="comment"> * without record boundaries. Aside from the bidirectionality of data flow,</span></div>
|
||||
<div class="line"><span class="lineno"> 86</span><span class="comment"> * a pair of connected stream sockets provides an interface nearly identical</span></div>
|
||||
<div class="line"><span class="lineno"> 87</span><span class="comment"> * to pipes</span></div>
|
||||
<div class="line"><span class="lineno"> 88</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 89</span><span class="comment"> * The bzero() function erases the data in the n bytes of the memory</span></div>
|
||||
<div class="line"><span class="lineno"> 90</span><span class="comment"> * starting at the location pointed to, by writing zeros (bytes</span></div>
|
||||
<div class="line"><span class="lineno"> 91</span><span class="comment"> * containing '\0') to that area</span></div>
|
||||
<div class="line"><span class="lineno"> 92</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 93</span><span class="comment"> * We bind the server_addr to the internet address and port number thus</span></div>
|
||||
<div class="line"><span class="lineno"> 94</span><span class="comment"> * giving our socket an identity with an address and port where it can</span></div>
|
||||
<div class="line"><span class="lineno"> 95</span><span class="comment"> * listen for connections</span></div>
|
||||
<div class="line"><span class="lineno"> 96</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 97</span><span class="comment"> * htons - The htons() function translates a short integer from host byte</span></div>
|
||||
<div class="line"><span class="lineno"> 98</span><span class="comment"> * order to network byte order</span></div>
|
||||
<div class="line"><span class="lineno"> 99</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 100</span><span class="comment"> * htonl - The htonl() function translates a long integer from host byte</span></div>
|
||||
<div class="line"><span class="lineno"> 101</span><span class="comment"> * order to network byte order</span></div>
|
||||
<div class="line"><span class="lineno"> 102</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 103</span><span class="comment"> * These functions are necessary so that the binding of address and port</span></div>
|
||||
<div class="line"><span class="lineno"> 104</span><span class="comment"> * takes place with data in the correct format</span></div>
|
||||
<div class="line"><span class="lineno"> 105</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 106</span> bzero(&server_addr, <span class="keyword">sizeof</span>(server_addr));</div>
|
||||
<div class="line"><span class="lineno"> 107</span> server_addr.sin_family = AF_INET;</div>
|
||||
<div class="line"><span class="lineno"> 108</span> server_addr.sin_port = htons(<a class="code hl_define" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a>);</div>
|
||||
<div class="line"><span class="lineno"> 109</span> server_addr.sin_addr.s_addr = htonl(INADDR_ANY);</div>
|
||||
<div class="line"><span class="lineno"> 110</span> </div>
|
||||
<div class="line"><span class="lineno"> 111</span> printf(<span class="stringliteral">"Server is running...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 112</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 113</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 114</span><span class="comment"> * This binds the socket descriptor to the server thus enabling the server</span></div>
|
||||
<div class="line"><span class="lineno"> 115</span><span class="comment"> * to listen for connections and communicate with other clients</span></div>
|
||||
<div class="line"><span class="lineno"> 116</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 117</span> <span class="keywordflow">if</span> (bind(sockfd, (<span class="keyword">struct</span> sockaddr *)&server_addr, <span class="keyword">sizeof</span>(server_addr)) < 0)</div>
|
||||
<div class="line"><span class="lineno"> 118</span> {</div>
|
||||
<div class="line"><span class="lineno"> 119</span> <a class="code hl_function" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a>(); <span class="comment">/// If binding is unsuccessful</span></div>
|
||||
<div class="line"><span class="lineno"> 120</span> }<span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 121</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 122</span><span class="comment"> * This is to listen for clients or connections made to the server</span></div>
|
||||
<div class="line"><span class="lineno"> 123</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 124</span><span class="comment"> * The limit is currently at 5 but can be increased to listen for</span></div>
|
||||
<div class="line"><span class="lineno"> 125</span><span class="comment"> * more connections</span></div>
|
||||
<div class="line"><span class="lineno"> 126</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 127</span><span class="comment"> * It listens to connections through the socket descriptor</span></div>
|
||||
<div class="line"><span class="lineno"> 128</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 129</span> listen(sockfd, 5);</div>
|
||||
<div class="line"><span class="lineno"> 130</span> </div>
|
||||
<div class="line"><span class="lineno"> 131</span> printf(<span class="stringliteral">"Server is listening...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 132</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 133</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 134</span><span class="comment"> * When a connection is found, a socket is created and connection is</span></div>
|
||||
<div class="line"><span class="lineno"> 135</span><span class="comment"> * accepted and established through the socket descriptor</span></div>
|
||||
<div class="line"><span class="lineno"> 136</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 137</span> conn = accept(sockfd, (<span class="keyword">struct</span> sockaddr *)NULL, NULL);</div>
|
||||
<div class="line"><span class="lineno"> 138</span> </div>
|
||||
<div class="line"><span class="lineno"> 139</span> printf(<span class="stringliteral">"Server is connected...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 140</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 141</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 142</span><span class="comment"> * Communication between client and server</span></div>
|
||||
<div class="line"><span class="lineno"> 143</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 144</span><span class="comment"> * The bzero() function erases the data in the n bytes of the memory</span></div>
|
||||
<div class="line"><span class="lineno"> 145</span><span class="comment"> * starting at the location pointed to, by writing zeros (bytes</span></div>
|
||||
<div class="line"><span class="lineno"> 146</span><span class="comment"> * containing '\0') to that area. The variables are emptied and then</span></div>
|
||||
<div class="line"><span class="lineno"> 147</span><span class="comment"> * ready for use</span></div>
|
||||
<div class="line"><span class="lineno"> 148</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 149</span><span class="comment"> * The fork function call is used to create a child and parent process</span></div>
|
||||
<div class="line"><span class="lineno"> 150</span><span class="comment"> * which run and execute code simultaneously</span></div>
|
||||
<div class="line"><span class="lineno"> 151</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 152</span><span class="comment"> * The child process is used to receive data and after doing so</span></div>
|
||||
<div class="line"><span class="lineno"> 153</span><span class="comment"> * sleeps for 5 seconds to wait for the parent to send data</span></div>
|
||||
<div class="line"><span class="lineno"> 154</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 155</span><span class="comment"> * The parent process is used to send data and after doing so</span></div>
|
||||
<div class="line"><span class="lineno"> 156</span><span class="comment"> * sleeps for 5 seconds to wait for the child to receive data</span></div>
|
||||
<div class="line"><span class="lineno"> 157</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 158</span><span class="comment"> * The server and client can communicate indefinitely till one of them</span></div>
|
||||
<div class="line"><span class="lineno"> 159</span><span class="comment"> * exits the connection</span></div>
|
||||
<div class="line"><span class="lineno"> 160</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 161</span><span class="comment"> * Since the exchange of information between the server and client takes</span></div>
|
||||
<div class="line"><span class="lineno"> 162</span><span class="comment"> * place simultaneously this represents FULL DUPLEX COMMUNICATION</span></div>
|
||||
<div class="line"><span class="lineno"> 163</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 164</span> pid_t <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a>;</div>
|
||||
<div class="line"><span class="lineno"> 165</span> <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> = fork();</div>
|
||||
<div class="line"><span class="lineno"> 166</span> <span class="keywordflow">if</span> (<a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> == 0) <span class="comment">/// Value of 0 is for child process</span></div>
|
||||
<div class="line"><span class="lineno"> 167</span> {</div>
|
||||
<div class="line"><span class="lineno"> 168</span> <span class="keywordflow">while</span> (1)</div>
|
||||
<div class="line"><span class="lineno"> 169</span> {</div>
|
||||
<div class="line"><span class="lineno"> 170</span> bzero(&recvbuff, <span class="keyword">sizeof</span>(recvbuff));</div>
|
||||
<div class="line"><span class="lineno"> 171</span> recv(conn, recvbuff, <span class="keyword">sizeof</span>(recvbuff), 0);</div>
|
||||
<div class="line"><span class="lineno"> 172</span> printf(<span class="stringliteral">"\nCLIENT : %s\n"</span>, recvbuff);</div>
|
||||
<div class="line"><span class="lineno"> 173</span> sleep(5);</div>
|
||||
<div class="line"><span class="lineno"> 174</span> <span class="comment">// break;</span></div>
|
||||
<div class="line"><span class="lineno"> 175</span> }</div>
|
||||
<div class="line"><span class="lineno"> 176</span> }</div>
|
||||
<div class="line"><span class="lineno"> 177</span> <span class="keywordflow">else</span> <span class="comment">/// Parent process</span></div>
|
||||
<div class="line"><span class="lineno"> 178</span> {</div>
|
||||
<div class="line"><span class="lineno"> 179</span> <span class="keywordflow">while</span> (1)</div>
|
||||
<div class="line"><span class="lineno"> 180</span> {</div>
|
||||
<div class="line"><span class="lineno"> 181</span> bzero(&sendbuff, <span class="keyword">sizeof</span>(sendbuff));</div>
|
||||
<div class="line"><span class="lineno"> 182</span> printf(<span class="stringliteral">"\nType message here: "</span>);</div>
|
||||
<div class="line"><span class="lineno"> 183</span> fgets(sendbuff, 1024, stdin);</div>
|
||||
<div class="line"><span class="lineno"> 184</span> send(conn, sendbuff, strlen(sendbuff) + 1, 0);</div>
|
||||
<div class="line"><span class="lineno"> 185</span> printf(<span class="stringliteral">"\nMessage Sent!\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 186</span> sleep(5);</div>
|
||||
<div class="line"><span class="lineno"> 187</span> <span class="comment">// break;</span></div>
|
||||
<div class="line"><span class="lineno"> 188</span> }</div>
|
||||
<div class="line"><span class="lineno"> 189</span> }</div>
|
||||
<div class="line"><span class="lineno"> 190</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 191</span><span class="comment"> /// Close socket</span></div>
|
||||
<div class="line"><span class="lineno"> 192</span><span class="comment"></span> close(sockfd);</div>
|
||||
<div class="line"><span class="lineno"> 193</span> printf(<span class="stringliteral">"Server is offline...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 194</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 195</span>}</div>
|
||||
<div class="line"><span class="lineno"> 89</span><span class="comment"> * 0 (Protocol) - Specifies a particular protocol to be used with the</span></div>
|
||||
<div class="line"><span class="lineno"> 90</span><span class="comment"> * socket. Specifying a protocol of 0 causes socket() to use an unspecified</span></div>
|
||||
<div class="line"><span class="lineno"> 91</span><span class="comment"> * default protocol appropriate for the requested socket type</span></div>
|
||||
<div class="line"><span class="lineno"> 92</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 93</span> <span class="keywordflow">if</span> ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0)</div>
|
||||
<div class="line"><span class="lineno"> 94</span> {</div>
|
||||
<div class="line"><span class="lineno"> 95</span> <a class="code hl_function" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a>(); <span class="comment">///< Error if the socket descriptor has a value lower than 0 -</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 96</span><span class="comment"> /// socket wasnt created</span></div>
|
||||
<div class="line"><span class="lineno"> 97</span><span class="comment"></span> }</div>
|
||||
<div class="line"><span class="lineno"> 98</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 99</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 100</span><span class="comment"> * Server Address Information</span></div>
|
||||
<div class="line"><span class="lineno"> 101</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 102</span><span class="comment"> * The bzero() function erases the data in the n bytes of the memory</span></div>
|
||||
<div class="line"><span class="lineno"> 103</span><span class="comment"> * starting at the location pointed to, by writing zeros (bytes</span></div>
|
||||
<div class="line"><span class="lineno"> 104</span><span class="comment"> * containing '\0') to that area</span></div>
|
||||
<div class="line"><span class="lineno"> 105</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 106</span><span class="comment"> * We bind the server_addr to the internet address and port number thus</span></div>
|
||||
<div class="line"><span class="lineno"> 107</span><span class="comment"> * giving our socket an identity with an address and port where it can</span></div>
|
||||
<div class="line"><span class="lineno"> 108</span><span class="comment"> * listen for connections</span></div>
|
||||
<div class="line"><span class="lineno"> 109</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 110</span><span class="comment"> * htons - The htons() function translates a short integer from host byte</span></div>
|
||||
<div class="line"><span class="lineno"> 111</span><span class="comment"> * order to network byte order</span></div>
|
||||
<div class="line"><span class="lineno"> 112</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 113</span><span class="comment"> * htonl - The htonl() function translates a long integer from host byte</span></div>
|
||||
<div class="line"><span class="lineno"> 114</span><span class="comment"> * order to network byte order</span></div>
|
||||
<div class="line"><span class="lineno"> 115</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 116</span><span class="comment"> * These functions are necessary so that the binding of address and port</span></div>
|
||||
<div class="line"><span class="lineno"> 117</span><span class="comment"> * takes place with data in the correct format</span></div>
|
||||
<div class="line"><span class="lineno"> 118</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 119</span> bzero(&server_addr, <span class="keyword">sizeof</span>(server_addr));</div>
|
||||
<div class="line"><span class="lineno"> 120</span> server_addr.sin_family = AF_INET;</div>
|
||||
<div class="line"><span class="lineno"> 121</span> server_addr.sin_port = htons(<a class="code hl_define" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a>);</div>
|
||||
<div class="line"><span class="lineno"> 122</span> server_addr.sin_addr.s_addr = htonl(INADDR_ANY);</div>
|
||||
<div class="line"><span class="lineno"> 123</span> </div>
|
||||
<div class="line"><span class="lineno"> 124</span> printf(<span class="stringliteral">"Server is running...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 125</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 126</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 127</span><span class="comment"> * This binds the socket descriptor to the server thus enabling the server</span></div>
|
||||
<div class="line"><span class="lineno"> 128</span><span class="comment"> * to listen for connections and communicate with other clients</span></div>
|
||||
<div class="line"><span class="lineno"> 129</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 130</span> <span class="keywordflow">if</span> (bind(sockfd, (<span class="keyword">struct</span> sockaddr *)&server_addr, <span class="keyword">sizeof</span>(server_addr)) < 0)</div>
|
||||
<div class="line"><span class="lineno"> 131</span> {</div>
|
||||
<div class="line"><span class="lineno"> 132</span> <a class="code hl_function" href="../../d1/d6b/tcp__full__duplex__server_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a>(); <span class="comment">/// If binding is unsuccessful</span></div>
|
||||
<div class="line"><span class="lineno"> 133</span> }<span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 134</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 135</span><span class="comment"> * This is to listen for clients or connections made to the server</span></div>
|
||||
<div class="line"><span class="lineno"> 136</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 137</span><span class="comment"> * The limit is currently at 5 but can be increased to listen for</span></div>
|
||||
<div class="line"><span class="lineno"> 138</span><span class="comment"> * more connections</span></div>
|
||||
<div class="line"><span class="lineno"> 139</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 140</span><span class="comment"> * It listens to connections through the socket descriptor</span></div>
|
||||
<div class="line"><span class="lineno"> 141</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 142</span> listen(sockfd, 5);</div>
|
||||
<div class="line"><span class="lineno"> 143</span> </div>
|
||||
<div class="line"><span class="lineno"> 144</span> printf(<span class="stringliteral">"Server is listening...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 145</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 146</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 147</span><span class="comment"> * When a connection is found, a socket is created and connection is</span></div>
|
||||
<div class="line"><span class="lineno"> 148</span><span class="comment"> * accepted and established through the socket descriptor</span></div>
|
||||
<div class="line"><span class="lineno"> 149</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 150</span> conn = accept(sockfd, (<span class="keyword">struct</span> sockaddr *)NULL, NULL);</div>
|
||||
<div class="line"><span class="lineno"> 151</span> </div>
|
||||
<div class="line"><span class="lineno"> 152</span> printf(<span class="stringliteral">"Server is connected...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 153</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 154</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 155</span><span class="comment"> * Communication between client and server</span></div>
|
||||
<div class="line"><span class="lineno"> 156</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 157</span><span class="comment"> * The bzero() function erases the data in the n bytes of the memory</span></div>
|
||||
<div class="line"><span class="lineno"> 158</span><span class="comment"> * starting at the location pointed to, by writing zeros (bytes</span></div>
|
||||
<div class="line"><span class="lineno"> 159</span><span class="comment"> * containing '\0') to that area. The variables are emptied and then</span></div>
|
||||
<div class="line"><span class="lineno"> 160</span><span class="comment"> * ready for use</span></div>
|
||||
<div class="line"><span class="lineno"> 161</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 162</span><span class="comment"> * The fork function call is used to create a child and parent process</span></div>
|
||||
<div class="line"><span class="lineno"> 163</span><span class="comment"> * which run and execute code simultaneously</span></div>
|
||||
<div class="line"><span class="lineno"> 164</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 165</span><span class="comment"> * The child process is used to receive data and after doing so</span></div>
|
||||
<div class="line"><span class="lineno"> 166</span><span class="comment"> * sleeps for 5 seconds to wait for the parent to send data</span></div>
|
||||
<div class="line"><span class="lineno"> 167</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 168</span><span class="comment"> * The parent process is used to send data and after doing so</span></div>
|
||||
<div class="line"><span class="lineno"> 169</span><span class="comment"> * sleeps for 5 seconds to wait for the child to receive data</span></div>
|
||||
<div class="line"><span class="lineno"> 170</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 171</span><span class="comment"> * The server and client can communicate indefinitely till one of them</span></div>
|
||||
<div class="line"><span class="lineno"> 172</span><span class="comment"> * exits the connection</span></div>
|
||||
<div class="line"><span class="lineno"> 173</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 174</span><span class="comment"> * Since the exchange of information between the server and client takes</span></div>
|
||||
<div class="line"><span class="lineno"> 175</span><span class="comment"> * place simultaneously this represents FULL DUPLEX COMMUNICATION</span></div>
|
||||
<div class="line"><span class="lineno"> 176</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 177</span> pid_t <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a>;</div>
|
||||
<div class="line"><span class="lineno"> 178</span> </div>
|
||||
<div class="line"><span class="lineno"> 179</span><span class="preprocessor"> #ifdef _WIN32</span></div>
|
||||
<div class="line"><span class="lineno"> 180</span><span class="preprocessor"> #ifdef FORK_WINDOWS</span></div>
|
||||
<div class="line"><span class="lineno"> 181</span> <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> = fork();</div>
|
||||
<div class="line"><span class="lineno"> 182</span><span class="preprocessor"> #endif</span></div>
|
||||
<div class="line"><span class="lineno"> 183</span><span class="preprocessor"> #else</span></div>
|
||||
<div class="line"><span class="lineno"> 184</span> <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> = fork();</div>
|
||||
<div class="line"><span class="lineno"> 185</span><span class="preprocessor"> #endif</span></div>
|
||||
<div class="line"><span class="lineno"> 186</span> </div>
|
||||
<div class="line"><span class="lineno"> 187</span> <span class="keywordflow">if</span> (<a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> == 0) <span class="comment">/// Value of 0 is for child process</span></div>
|
||||
<div class="line"><span class="lineno"> 188</span> {</div>
|
||||
<div class="line"><span class="lineno"> 189</span> <span class="keywordflow">while</span> (1)</div>
|
||||
<div class="line"><span class="lineno"> 190</span> {</div>
|
||||
<div class="line"><span class="lineno"> 191</span> bzero(&recvbuff, <span class="keyword">sizeof</span>(recvbuff));</div>
|
||||
<div class="line"><span class="lineno"> 192</span> recv(conn, recvbuff, <span class="keyword">sizeof</span>(recvbuff), 0);</div>
|
||||
<div class="line"><span class="lineno"> 193</span> printf(<span class="stringliteral">"\nCLIENT : %s\n"</span>, recvbuff);</div>
|
||||
<div class="line"><span class="lineno"> 194</span> sleep(5);</div>
|
||||
<div class="line"><span class="lineno"> 195</span> <span class="comment">// break;</span></div>
|
||||
<div class="line"><span class="lineno"> 196</span> }</div>
|
||||
<div class="line"><span class="lineno"> 197</span> }</div>
|
||||
<div class="line"><span class="lineno"> 198</span> <span class="keywordflow">else</span> <span class="comment">/// Parent process</span></div>
|
||||
<div class="line"><span class="lineno"> 199</span> {</div>
|
||||
<div class="line"><span class="lineno"> 200</span> <span class="keywordflow">while</span> (1)</div>
|
||||
<div class="line"><span class="lineno"> 201</span> {</div>
|
||||
<div class="line"><span class="lineno"> 202</span> bzero(&sendbuff, <span class="keyword">sizeof</span>(sendbuff));</div>
|
||||
<div class="line"><span class="lineno"> 203</span> printf(<span class="stringliteral">"\nType message here: "</span>);</div>
|
||||
<div class="line"><span class="lineno"> 204</span> fgets(sendbuff, 1024, stdin);</div>
|
||||
<div class="line"><span class="lineno"> 205</span> send(conn, sendbuff, strlen(sendbuff) + 1, 0);</div>
|
||||
<div class="line"><span class="lineno"> 206</span> printf(<span class="stringliteral">"\nMessage Sent!\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 207</span> sleep(5);</div>
|
||||
<div class="line"><span class="lineno"> 208</span> <span class="comment">// break;</span></div>
|
||||
<div class="line"><span class="lineno"> 209</span> }</div>
|
||||
<div class="line"><span class="lineno"> 210</span> }</div>
|
||||
<div class="line"><span class="lineno"> 211</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 212</span><span class="comment"> /// Close socket</span></div>
|
||||
<div class="line"><span class="lineno"> 213</span><span class="comment"></span> close(sockfd);</div>
|
||||
<div class="line"><span class="lineno"> 214</span> printf(<span class="stringliteral">"Server is offline...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 215</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 216</span>}</div>
|
||||
<div class="ttc" id="astructpid_html"><div class="ttname"><a href="../../d0/d43/structpid.html">pid</a></div><div class="ttdoc">PID Controller.</div><div class="ttdef"><b>Definition</b> pid.c:31</div></div>
|
||||
<div class="ttc" id="atcp__full__duplex__server_8c_html_a614217d263be1fb1a5f76e2ff7be19a2"><div class="ttname"><a href="../../d1/d6b/tcp__full__duplex__server_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a></div><div class="ttdeci">#define PORT</div><div class="ttdoc">For the type in_addr_t and in_port_t For structures returned by the network database library - format...</div><div class="ttdef"><b>Definition</b> tcp_full_duplex_server.c:31</div></div>
|
||||
<div class="ttc" id="atcp__full__duplex__server_8c_html_a7e15c8e2885871839fc2b820dfbdb4ce"><div class="ttname"><a href="../../d1/d6b/tcp__full__duplex__server_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a></div><div class="ttdeci">void error()</div><div class="ttdoc">Utility function used to print an error message to stderr.</div><div class="ttdef"><b>Definition</b> tcp_full_duplex_server.c:39</div></div>
|
||||
<div class="ttc" id="atcp__full__duplex__server_8c_html_a614217d263be1fb1a5f76e2ff7be19a2"><div class="ttname"><a href="../../d1/d6b/tcp__full__duplex__server_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a></div><div class="ttdeci">#define PORT</div><div class="ttdoc">For the type in_addr_t and in_port_t For structures returned by the network database library - format...</div><div class="ttdef"><b>Definition</b> tcp_full_duplex_server.c:44</div></div>
|
||||
<div class="ttc" id="atcp__full__duplex__server_8c_html_a7e15c8e2885871839fc2b820dfbdb4ce"><div class="ttname"><a href="../../d1/d6b/tcp__full__duplex__server_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a></div><div class="ttdeci">void error()</div><div class="ttdoc">Utility function used to print an error message to stderr.</div><div class="ttdef"><b>Definition</b> tcp_full_duplex_server.c:52</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
@ -398,7 +406,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_d20ad0b8de644c123692ba5582cc7a7b.html">client_server</a></li><li class="navelem"><a class="el" href="../../d1/d6b/tcp__full__duplex__server_8c.html">tcp_full_duplex_server.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: ListItem Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -113,10 +113,10 @@ Collaboration diagram for ListItem:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a58dfa7c3270b348856b6f6f8250d93e3"><td class="memItemLeft" align="right" valign="top"><a id="a58dfa7c3270b348856b6f6f8250d93e3" name="a58dfa7c3270b348856b6f6f8250d93e3"></a>
|
||||
<tr class="memitem:a58dfa7c3270b348856b6f6f8250d93e3" id="r_a58dfa7c3270b348856b6f6f8250d93e3"><td class="memItemLeft" align="right" valign="top"><a id="a58dfa7c3270b348856b6f6f8250d93e3" name="a58dfa7c3270b348856b6f6f8250d93e3"></a>
|
||||
struct TreeNode * </td><td class="memItemRight" valign="bottom"><b>node</b></td></tr>
|
||||
<tr class="separator:a58dfa7c3270b348856b6f6f8250d93e3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3a9c06ae85f60557666cb569b36072a9"><td class="memItemLeft" align="right" valign="top"><a id="a3a9c06ae85f60557666cb569b36072a9" name="a3a9c06ae85f60557666cb569b36072a9"></a>
|
||||
<tr class="memitem:a3a9c06ae85f60557666cb569b36072a9" id="r_a3a9c06ae85f60557666cb569b36072a9"><td class="memItemLeft" align="right" valign="top"><a id="a3a9c06ae85f60557666cb569b36072a9" name="a3a9c06ae85f60557666cb569b36072a9"></a>
|
||||
struct <a class="el" href="../../d1/d7d/struct_list_item.html">ListItem</a> * </td><td class="memItemRight" valign="bottom"><b>next</b></td></tr>
|
||||
<tr class="separator:a3a9c06ae85f60557666cb569b36072a9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -124,7 +124,7 @@ struct <a class="el" href="../../d1/d7d/struct_list_item.html">ListItem</a> *
|
|||
<div class="textblock"><p>Definition for a binary tree node. </p>
|
||||
<p>struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; }; </p>
|
||||
</div><hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>leetcode/src/236.c</li>
|
||||
<li>leetcode/src/<b>236.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -132,7 +132,7 @@ struct <a class="el" href="../../d1/d7d/struct_list_item.html">ListItem</a> *
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d1/d7d/struct_list_item.html">ListItem</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: sorting/odd_even_sort.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -119,16 +119,16 @@ Include dependency graph for odd_even_sort.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ac2eee54959bc040cfcb56d2d8047853a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d94/odd__even__sort_8c.html#ac2eee54959bc040cfcb56d2d8047853a">swap</a> (int32_t *first, int32_t *second)</td></tr>
|
||||
<tr class="memitem:ac2eee54959bc040cfcb56d2d8047853a" id="r_ac2eee54959bc040cfcb56d2d8047853a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d94/odd__even__sort_8c.html#ac2eee54959bc040cfcb56d2d8047853a">swap</a> (int32_t *first, int32_t *second)</td></tr>
|
||||
<tr class="memdesc:ac2eee54959bc040cfcb56d2d8047853a"><td class="mdescLeft"> </td><td class="mdescRight">for assert <br /></td></tr>
|
||||
<tr class="separator:ac2eee54959bc040cfcb56d2d8047853a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a17761a0788916faded6e2ca1f478ad33"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d94/odd__even__sort_8c.html#a17761a0788916faded6e2ca1f478ad33">oddEvenSort</a> (int *arr, int size)</td></tr>
|
||||
<tr class="memitem:a17761a0788916faded6e2ca1f478ad33" id="r_a17761a0788916faded6e2ca1f478ad33"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d94/odd__even__sort_8c.html#a17761a0788916faded6e2ca1f478ad33">oddEvenSort</a> (int *arr, int size)</td></tr>
|
||||
<tr class="memdesc:a17761a0788916faded6e2ca1f478ad33"><td class="mdescLeft"> </td><td class="mdescRight">oddEvenSort sorts the array using the algorithm described above. <br /></td></tr>
|
||||
<tr class="separator:a17761a0788916faded6e2ca1f478ad33"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d94/odd__even__sort_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d94/odd__even__sort_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d94/odd__even__sort_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d94/odd__even__sort_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -339,7 +339,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d1/d94/odd__even__sort_8c.html">odd_even_sort.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: client_server/tcp_full_duplex_client.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -109,13 +109,13 @@ $(document).ready(function(){initNavTree('d1/d98/tcp__full__duplex__client_8c.ht
|
|||
<div class="textblock"><code>#include <arpa/inet.h></code><br />
|
||||
<code>#include <netdb.h></code><br />
|
||||
<code>#include <netinet/in.h></code><br />
|
||||
<code>#include <sys/socket.h></code><br />
|
||||
<code>#include <sys/types.h></code><br />
|
||||
<code>#include <unistd.h></code><br />
|
||||
<code>#include <stdint.h></code><br />
|
||||
<code>#include <stdio.h></code><br />
|
||||
<code>#include <stdlib.h></code><br />
|
||||
<code>#include <string.h></code><br />
|
||||
<code>#include <sys/socket.h></code><br />
|
||||
<code>#include <sys/types.h></code><br />
|
||||
<code>#include <unistd.h></code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for tcp_full_duplex_client.c:</div>
|
||||
<div class="dyncontent">
|
||||
|
@ -124,16 +124,16 @@ Include dependency graph for tcp_full_duplex_client.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a614217d263be1fb1a5f76e2ff7be19a2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d98/tcp__full__duplex__client_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a>   10000</td></tr>
|
||||
<tr class="memdesc:a614217d263be1fb1a5f76e2ff7be19a2"><td class="mdescLeft"> </td><td class="mdescRight">For the type in_addr_t and in_port_t For structures returned by the network database library - formatted internet addresses and port numbers For in_addr and sockaddr_in structures. <br /></td></tr>
|
||||
<tr class="memitem:a614217d263be1fb1a5f76e2ff7be19a2" id="r_a614217d263be1fb1a5f76e2ff7be19a2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d98/tcp__full__duplex__client_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a>   10000</td></tr>
|
||||
<tr class="memdesc:a614217d263be1fb1a5f76e2ff7be19a2"><td class="mdescLeft"> </td><td class="mdescRight">For the type in_addr_t and in_port_t For structures returned by the network database library - formatted internet addresses and port numbers For in_addr and sockaddr_in structures For macro definitions related to the creation of sockets For definitions to allow for the porting of BSD programs. <br /></td></tr>
|
||||
<tr class="separator:a614217d263be1fb1a5f76e2ff7be19a2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a7e15c8e2885871839fc2b820dfbdb4ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d98/tcp__full__duplex__client_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a> ()</td></tr>
|
||||
<tr class="memitem:a7e15c8e2885871839fc2b820dfbdb4ce" id="r_a7e15c8e2885871839fc2b820dfbdb4ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d98/tcp__full__duplex__client_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a> ()</td></tr>
|
||||
<tr class="memdesc:a7e15c8e2885871839fc2b820dfbdb4ce"><td class="mdescLeft"> </td><td class="mdescRight">Utility function used to print an error message to <code>stderr</code>. <br /></td></tr>
|
||||
<tr class="separator:a7e15c8e2885871839fc2b820dfbdb4ce"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d98/tcp__full__duplex__client_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d98/tcp__full__duplex__client_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -155,8 +155,8 @@ Functions</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>For the type in_addr_t and in_port_t For structures returned by the network database library - formatted internet addresses and port numbers For in_addr and sockaddr_in structures. </p>
|
||||
<p>For specific bit size values of variables Variable types, several macros, and various functions for performing input and output Variable types, several macros, and various functions for performing general functions Various functions for manipulating arrays of characters For macro definitions related to the creation of sockets For definitions to allow for the porting of BSD programs For miscellaneous symbolic constants and types, and miscellaneous functions </p>
|
||||
<p>For the type in_addr_t and in_port_t For structures returned by the network database library - formatted internet addresses and port numbers For in_addr and sockaddr_in structures For macro definitions related to the creation of sockets For definitions to allow for the porting of BSD programs. </p>
|
||||
<p>For specific bit size values of variables Variable types, several macros, and various functions for performing input and output Variable types, several macros, and various functions for performing general functions Various functions for manipulating arrays of characters </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -178,10 +178,10 @@ Functions</h2></td></tr>
|
|||
|
||||
<p>Utility function used to print an error message to <code>stderr</code>. </p>
|
||||
<p>It prints <code>str</code> and an implementation-defined error message corresponding to the global variable <code>errno</code>. </p><dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 40</span>{</div>
|
||||
<div class="line"><span class="lineno"> 41</span> perror(<span class="stringliteral">"Socket Creation Failed"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 42</span> exit(EXIT_FAILURE);</div>
|
||||
<div class="line"><span class="lineno"> 43</span>}</div>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 53</span>{</div>
|
||||
<div class="line"><span class="lineno"> 54</span> perror(<span class="stringliteral">"Socket Creation Failed"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 55</span> exit(EXIT_FAILURE);</div>
|
||||
<div class="line"><span class="lineno"> 56</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
|
@ -228,133 +228,134 @@ Functions</h2></td></tr>
|
|||
<p>Value of 0 is for child process</p>
|
||||
<p>Parent Process</p>
|
||||
<p>Close Socket</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 50</span>{<span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 51</span><span class="comment"> /** Variable Declarations */</span></div>
|
||||
<div class="line"><span class="lineno"> 52</span> uint32_t</div>
|
||||
<div class="line"><span class="lineno"> 53</span> sockfd; <span class="comment">///< socket descriptors - Like file handles but for sockets</span></div>
|
||||
<div class="line"><span class="lineno"> 54</span> <span class="keywordtype">char</span> sendbuff[1024],</div>
|
||||
<div class="line"><span class="lineno"> 55</span> recvbuff[1024]; <span class="comment">///< character arrays to read and store string data</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 56</span><span class="comment"> /// for communication</span></div>
|
||||
<div class="line"><span class="lineno"> 57</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 58</span> <span class="keyword">struct </span>sockaddr_in</div>
|
||||
<div class="line"><span class="lineno"> 59</span> server_addr; <span class="comment">///< basic structures for all syscalls and functions that</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 60</span><span class="comment"> /// deal with internet addresses. Structures for handling</span></div>
|
||||
<div class="line"><span class="lineno"> 61</span><span class="comment"> /// internet addresses</span></div>
|
||||
<div class="line"><span class="lineno"> 62</span><span class="comment"></span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 63</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 64</span><span class="comment"> * The TCP socket is created using the socket function.</span></div>
|
||||
<div class="line"><span class="lineno"> 65</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 66</span><span class="comment"> * AF_INET (Family) - it is an address family that is used to designate the</span></div>
|
||||
<div class="line"><span class="lineno"> 67</span><span class="comment"> * type of addresses that your socket can communicate with</span></div>
|
||||
<div class="line"><span class="lineno"> 68</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 69</span><span class="comment"> * SOCK_STREAM (Type) - Indicates TCP Connection - A stream socket provides</span></div>
|
||||
<div class="line"><span class="lineno"> 70</span><span class="comment"> * for the bidirectional, reliable, sequenced, and unduplicated flow of data</span></div>
|
||||
<div class="line"><span class="lineno"> 71</span><span class="comment"> * without record boundaries. Aside from the bidirectionality of data flow,</span></div>
|
||||
<div class="line"><span class="lineno"> 72</span><span class="comment"> * a pair of connected stream sockets provides an interface nearly identical</span></div>
|
||||
<div class="line"><span class="lineno"> 73</span><span class="comment"> * to pipes.</span></div>
|
||||
<div class="line"><span class="lineno"> 74</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 75</span><span class="comment"> * 0 (Protocol) - Specifies a particular protocol to be used with the</span></div>
|
||||
<div class="line"><span class="lineno"> 76</span><span class="comment"> * socket. Specifying a protocol of 0 causes socket() to use an unspecified</span></div>
|
||||
<div class="line"><span class="lineno"> 77</span><span class="comment"> * default protocol appropriate for the requested socket type.</span></div>
|
||||
<div class="line"><span class="lineno"> 78</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 79</span> <span class="keywordflow">if</span> ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0)</div>
|
||||
<div class="line"><span class="lineno"> 80</span> {</div>
|
||||
<div class="line"><span class="lineno"> 81</span> <a class="code hl_function" href="../../d1/d98/tcp__full__duplex__client_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a>();</div>
|
||||
<div class="line"><span class="lineno"> 82</span> }</div>
|
||||
<div class="line"><span class="lineno"> 83</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 84</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 85</span><span class="comment"> * Server Address Information</span></div>
|
||||
<div class="line"><span class="lineno"> 86</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 87</span><span class="comment"> * The bzero() function erases the data in the n bytes of the memory</span></div>
|
||||
<div class="line"><span class="lineno"> 88</span><span class="comment"> * starting at the location pointed to, by writing zeros (bytes</span></div>
|
||||
<div class="line"><span class="lineno"> 89</span><span class="comment"> * containing '\0') to that area.</span></div>
|
||||
<div class="line"><span class="lineno"> 90</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 91</span><span class="comment"> * We bind the server_addr to the internet address and port number thus</span></div>
|
||||
<div class="line"><span class="lineno"> 92</span><span class="comment"> * giving our socket an identity with an address and port where it can</span></div>
|
||||
<div class="line"><span class="lineno"> 93</span><span class="comment"> * listen for connections</span></div>
|
||||
<div class="line"><span class="lineno"> 94</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 95</span><span class="comment"> * htons - The htons() function translates a short integer from host byte</span></div>
|
||||
<div class="line"><span class="lineno"> 96</span><span class="comment"> * order to network byte order</span></div>
|
||||
<div class="line"><span class="lineno"> 97</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 98</span><span class="comment"> * htonl - The htonl() function translates a long integer from host byte</span></div>
|
||||
<div class="line"><span class="lineno"> 99</span><span class="comment"> * order to network byte order</span></div>
|
||||
<div class="line"><span class="lineno"> 100</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 101</span><span class="comment"> * These functions are necessary so that the binding of address and port</span></div>
|
||||
<div class="line"><span class="lineno"> 102</span><span class="comment"> * takes place with data in the correct format</span></div>
|
||||
<div class="line"><span class="lineno"> 103</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 104</span> bzero(&server_addr, <span class="keyword">sizeof</span>(server_addr));</div>
|
||||
<div class="line"><span class="lineno"> 105</span> server_addr.sin_family = AF_INET;</div>
|
||||
<div class="line"><span class="lineno"> 106</span> server_addr.sin_port = htons(<a class="code hl_define" href="../../d1/d98/tcp__full__duplex__client_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a>);</div>
|
||||
<div class="line"><span class="lineno"> 107</span> server_addr.sin_addr.s_addr = htonl(INADDR_ANY);</div>
|
||||
<div class="line"><span class="lineno"> 108</span> </div>
|
||||
<div class="line"><span class="lineno"> 109</span> printf(<span class="stringliteral">"Client is running...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 110</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 111</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 112</span><span class="comment"> * Connects the client to the server address using the socket descriptor</span></div>
|
||||
<div class="line"><span class="lineno"> 113</span><span class="comment"> * This enables the two to communicate and exchange data</span></div>
|
||||
<div class="line"><span class="lineno"> 114</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 115</span> connect(sockfd, (<span class="keyword">struct</span> sockaddr *)&server_addr, <span class="keyword">sizeof</span>(server_addr));</div>
|
||||
<div class="line"><span class="lineno"> 116</span> </div>
|
||||
<div class="line"><span class="lineno"> 117</span> printf(<span class="stringliteral">"Client is connected...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 118</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 119</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 120</span><span class="comment"> * Communication between client and server</span></div>
|
||||
<div class="line"><span class="lineno"> 121</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 122</span><span class="comment"> * The bzero() function erases the data in the n bytes of the memory</span></div>
|
||||
<div class="line"><span class="lineno"> 123</span><span class="comment"> * starting at the location pointed to, by writing zeros (bytes</span></div>
|
||||
<div class="line"><span class="lineno"> 124</span><span class="comment"> * containing '\0') to that area. The variables are emptied and then</span></div>
|
||||
<div class="line"><span class="lineno"> 125</span><span class="comment"> * ready for use</span></div>
|
||||
<div class="line"><span class="lineno"> 126</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 127</span><span class="comment"> * The fork function call is used to create a child and parent process</span></div>
|
||||
<div class="line"><span class="lineno"> 128</span><span class="comment"> * which run and execute code simultaneously</span></div>
|
||||
<div class="line"><span class="lineno"> 129</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 130</span><span class="comment"> * The child process is used to send data and after doing so</span></div>
|
||||
<div class="line"><span class="lineno"> 131</span><span class="comment"> * sleeps for 5 seconds to wait for the parent to receive data</span></div>
|
||||
<div class="line"><span class="lineno"> 132</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 133</span><span class="comment"> * The parent process is used to receive data and after doing so</span></div>
|
||||
<div class="line"><span class="lineno"> 134</span><span class="comment"> * sleeps for 5 seconds to wait for the child to send data</span></div>
|
||||
<div class="line"><span class="lineno"> 135</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 136</span><span class="comment"> * The server and client can communicate indefinitely till one of them</span></div>
|
||||
<div class="line"><span class="lineno"> 137</span><span class="comment"> * exits the connection</span></div>
|
||||
<div class="line"><span class="lineno"> 138</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 139</span><span class="comment"> * Since the exchange of information between the server and client takes</span></div>
|
||||
<div class="line"><span class="lineno"> 140</span><span class="comment"> * place simultaneously this represents FULL DUPLEX COMMUNICATION</span></div>
|
||||
<div class="line"><span class="lineno"> 141</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 142</span> pid_t <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a>;</div>
|
||||
<div class="line"><span class="lineno"> 143</span> <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> = fork();</div>
|
||||
<div class="line"><span class="lineno"> 144</span> <span class="keywordflow">if</span> (<a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> == 0) <span class="comment">/// Value of 0 is for child process</span></div>
|
||||
<div class="line"><span class="lineno"> 145</span> {</div>
|
||||
<div class="line"><span class="lineno"> 146</span> <span class="keywordflow">while</span> (1)</div>
|
||||
<div class="line"><span class="lineno"> 147</span> {</div>
|
||||
<div class="line"><span class="lineno"> 148</span> bzero(&sendbuff, <span class="keyword">sizeof</span>(sendbuff));</div>
|
||||
<div class="line"><span class="lineno"> 149</span> printf(<span class="stringliteral">"\nType message here: "</span>);</div>
|
||||
<div class="line"><span class="lineno"> 150</span> fgets(sendbuff, 1024, stdin);</div>
|
||||
<div class="line"><span class="lineno"> 151</span> send(sockfd, sendbuff, strlen(sendbuff) + 1, 0);</div>
|
||||
<div class="line"><span class="lineno"> 152</span> printf(<span class="stringliteral">"\nMessage sent!\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 153</span> sleep(5);</div>
|
||||
<div class="line"><span class="lineno"> 154</span> <span class="comment">// break;</span></div>
|
||||
<div class="line"><span class="lineno"> 155</span> }</div>
|
||||
<div class="line"><span class="lineno"> 156</span> }</div>
|
||||
<div class="line"><span class="lineno"> 157</span> <span class="keywordflow">else</span> <span class="comment">/// Parent Process</span></div>
|
||||
<div class="line"><span class="lineno"> 158</span> {</div>
|
||||
<div class="line"><span class="lineno"> 159</span> <span class="keywordflow">while</span> (1)</div>
|
||||
<div class="line"><span class="lineno"> 160</span> {</div>
|
||||
<div class="line"><span class="lineno"> 161</span> bzero(&recvbuff, <span class="keyword">sizeof</span>(recvbuff));</div>
|
||||
<div class="line"><span class="lineno"> 162</span> recv(sockfd, recvbuff, <span class="keyword">sizeof</span>(recvbuff), 0);</div>
|
||||
<div class="line"><span class="lineno"> 163</span> printf(<span class="stringliteral">"\nSERVER: %s\n"</span>, recvbuff);</div>
|
||||
<div class="line"><span class="lineno"> 164</span> sleep(5);</div>
|
||||
<div class="line"><span class="lineno"> 165</span> <span class="comment">// break;</span></div>
|
||||
<div class="line"><span class="lineno"> 166</span> }</div>
|
||||
<div class="line"><span class="lineno"> 167</span> }</div>
|
||||
<div class="line"><span class="lineno"> 168</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 169</span><span class="comment"> /// Close Socket</span></div>
|
||||
<div class="line"><span class="lineno"> 170</span><span class="comment"></span> close(sockfd);</div>
|
||||
<div class="line"><span class="lineno"> 171</span> printf(<span class="stringliteral">"Client is offline...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 172</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 173</span>}</div>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 63</span>{<span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 64</span><span class="comment"> /** Variable Declarations */</span></div>
|
||||
<div class="line"><span class="lineno"> 65</span> uint32_t</div>
|
||||
<div class="line"><span class="lineno"> 66</span> sockfd; <span class="comment">///< socket descriptors - Like file handles but for sockets</span></div>
|
||||
<div class="line"><span class="lineno"> 67</span> <span class="keywordtype">char</span> sendbuff[1024],</div>
|
||||
<div class="line"><span class="lineno"> 68</span> recvbuff[1024]; <span class="comment">///< character arrays to read and store string data</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 69</span><span class="comment"> /// for communication</span></div>
|
||||
<div class="line"><span class="lineno"> 70</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 71</span> <span class="keyword">struct </span>sockaddr_in</div>
|
||||
<div class="line"><span class="lineno"> 72</span> server_addr; <span class="comment">///< basic structures for all syscalls and functions that</span><span class="comment"></span></div>
|
||||
<div class="line"><span class="lineno"> 73</span><span class="comment"> /// deal with internet addresses. Structures for handling</span></div>
|
||||
<div class="line"><span class="lineno"> 74</span><span class="comment"> /// internet addresses</span></div>
|
||||
<div class="line"><span class="lineno"> 75</span><span class="comment"></span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 76</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 77</span><span class="comment"> * The TCP socket is created using the socket function.</span></div>
|
||||
<div class="line"><span class="lineno"> 78</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 79</span><span class="comment"> * AF_INET (Family) - it is an address family that is used to designate the</span></div>
|
||||
<div class="line"><span class="lineno"> 80</span><span class="comment"> * type of addresses that your socket can communicate with</span></div>
|
||||
<div class="line"><span class="lineno"> 81</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 82</span><span class="comment"> * SOCK_STREAM (Type) - Indicates TCP Connection - A stream socket provides</span></div>
|
||||
<div class="line"><span class="lineno"> 83</span><span class="comment"> * for the bidirectional, reliable, sequenced, and unduplicated flow of data</span></div>
|
||||
<div class="line"><span class="lineno"> 84</span><span class="comment"> * without record boundaries. Aside from the bidirectionality of data flow,</span></div>
|
||||
<div class="line"><span class="lineno"> 85</span><span class="comment"> * a pair of connected stream sockets provides an interface nearly identical</span></div>
|
||||
<div class="line"><span class="lineno"> 86</span><span class="comment"> * to pipes.</span></div>
|
||||
<div class="line"><span class="lineno"> 87</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 88</span><span class="comment"> * 0 (Protocol) - Specifies a particular protocol to be used with the</span></div>
|
||||
<div class="line"><span class="lineno"> 89</span><span class="comment"> * socket. Specifying a protocol of 0 causes socket() to use an unspecified</span></div>
|
||||
<div class="line"><span class="lineno"> 90</span><span class="comment"> * default protocol appropriate for the requested socket type.</span></div>
|
||||
<div class="line"><span class="lineno"> 91</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 92</span> <span class="keywordflow">if</span> ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0)</div>
|
||||
<div class="line"><span class="lineno"> 93</span> {</div>
|
||||
<div class="line"><span class="lineno"> 94</span> <a class="code hl_function" href="../../d1/d98/tcp__full__duplex__client_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a>();</div>
|
||||
<div class="line"><span class="lineno"> 95</span> }</div>
|
||||
<div class="line"><span class="lineno"> 96</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 97</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 98</span><span class="comment"> * Server Address Information</span></div>
|
||||
<div class="line"><span class="lineno"> 99</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 100</span><span class="comment"> * The bzero() function erases the data in the n bytes of the memory</span></div>
|
||||
<div class="line"><span class="lineno"> 101</span><span class="comment"> * starting at the location pointed to, by writing zeros (bytes</span></div>
|
||||
<div class="line"><span class="lineno"> 102</span><span class="comment"> * containing '\0') to that area.</span></div>
|
||||
<div class="line"><span class="lineno"> 103</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 104</span><span class="comment"> * We bind the server_addr to the internet address and port number thus</span></div>
|
||||
<div class="line"><span class="lineno"> 105</span><span class="comment"> * giving our socket an identity with an address and port where it can</span></div>
|
||||
<div class="line"><span class="lineno"> 106</span><span class="comment"> * listen for connections</span></div>
|
||||
<div class="line"><span class="lineno"> 107</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 108</span><span class="comment"> * htons - The htons() function translates a short integer from host byte</span></div>
|
||||
<div class="line"><span class="lineno"> 109</span><span class="comment"> * order to network byte order</span></div>
|
||||
<div class="line"><span class="lineno"> 110</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 111</span><span class="comment"> * htonl - The htonl() function translates a long integer from host byte</span></div>
|
||||
<div class="line"><span class="lineno"> 112</span><span class="comment"> * order to network byte order</span></div>
|
||||
<div class="line"><span class="lineno"> 113</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 114</span><span class="comment"> * These functions are necessary so that the binding of address and port</span></div>
|
||||
<div class="line"><span class="lineno"> 115</span><span class="comment"> * takes place with data in the correct format</span></div>
|
||||
<div class="line"><span class="lineno"> 116</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 117</span> bzero(&server_addr, <span class="keyword">sizeof</span>(server_addr));</div>
|
||||
<div class="line"><span class="lineno"> 118</span> server_addr.sin_family = AF_INET;</div>
|
||||
<div class="line"><span class="lineno"> 119</span> server_addr.sin_port = htons(<a class="code hl_define" href="../../d1/d98/tcp__full__duplex__client_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a>);</div>
|
||||
<div class="line"><span class="lineno"> 120</span> server_addr.sin_addr.s_addr = htonl(INADDR_ANY);</div>
|
||||
<div class="line"><span class="lineno"> 121</span> </div>
|
||||
<div class="line"><span class="lineno"> 122</span> printf(<span class="stringliteral">"Client is running...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 123</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 124</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 125</span><span class="comment"> * Connects the client to the server address using the socket descriptor</span></div>
|
||||
<div class="line"><span class="lineno"> 126</span><span class="comment"> * This enables the two to communicate and exchange data</span></div>
|
||||
<div class="line"><span class="lineno"> 127</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 128</span> connect(sockfd, (<span class="keyword">struct</span> sockaddr *)&server_addr, <span class="keyword">sizeof</span>(server_addr));</div>
|
||||
<div class="line"><span class="lineno"> 129</span> </div>
|
||||
<div class="line"><span class="lineno"> 130</span> printf(<span class="stringliteral">"Client is connected...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 131</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 132</span><span class="comment"> /**</span></div>
|
||||
<div class="line"><span class="lineno"> 133</span><span class="comment"> * Communication between client and server</span></div>
|
||||
<div class="line"><span class="lineno"> 134</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 135</span><span class="comment"> * The bzero() function erases the data in the n bytes of the memory</span></div>
|
||||
<div class="line"><span class="lineno"> 136</span><span class="comment"> * starting at the location pointed to, by writing zeros (bytes</span></div>
|
||||
<div class="line"><span class="lineno"> 137</span><span class="comment"> * containing '\0') to that area. The variables are emptied and then</span></div>
|
||||
<div class="line"><span class="lineno"> 138</span><span class="comment"> * ready for use</span></div>
|
||||
<div class="line"><span class="lineno"> 139</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 140</span><span class="comment"> * The fork function call is used to create a child and parent process</span></div>
|
||||
<div class="line"><span class="lineno"> 141</span><span class="comment"> * which run and execute code simultaneously</span></div>
|
||||
<div class="line"><span class="lineno"> 142</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 143</span><span class="comment"> * The child process is used to send data and after doing so</span></div>
|
||||
<div class="line"><span class="lineno"> 144</span><span class="comment"> * sleeps for 5 seconds to wait for the parent to receive data</span></div>
|
||||
<div class="line"><span class="lineno"> 145</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 146</span><span class="comment"> * The parent process is used to receive data and after doing so</span></div>
|
||||
<div class="line"><span class="lineno"> 147</span><span class="comment"> * sleeps for 5 seconds to wait for the child to send data</span></div>
|
||||
<div class="line"><span class="lineno"> 148</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 149</span><span class="comment"> * The server and client can communicate indefinitely till one of them</span></div>
|
||||
<div class="line"><span class="lineno"> 150</span><span class="comment"> * exits the connection</span></div>
|
||||
<div class="line"><span class="lineno"> 151</span><span class="comment"> *</span></div>
|
||||
<div class="line"><span class="lineno"> 152</span><span class="comment"> * Since the exchange of information between the server and client takes</span></div>
|
||||
<div class="line"><span class="lineno"> 153</span><span class="comment"> * place simultaneously this represents FULL DUPLEX COMMUNICATION</span></div>
|
||||
<div class="line"><span class="lineno"> 154</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 155</span> pid_t <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a>;</div>
|
||||
<div class="line"><span class="lineno"> 156</span> <a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> = fork();</div>
|
||||
<div class="line"><span class="lineno"> 157</span> </div>
|
||||
<div class="line"><span class="lineno"> 158</span> <span class="keywordflow">if</span> (<a class="code hl_struct" href="../../d0/d43/structpid.html">pid</a> == 0) <span class="comment">/// Value of 0 is for child process</span></div>
|
||||
<div class="line"><span class="lineno"> 159</span> {</div>
|
||||
<div class="line"><span class="lineno"> 160</span> <span class="keywordflow">while</span> (1)</div>
|
||||
<div class="line"><span class="lineno"> 161</span> {</div>
|
||||
<div class="line"><span class="lineno"> 162</span> bzero(&sendbuff, <span class="keyword">sizeof</span>(sendbuff));</div>
|
||||
<div class="line"><span class="lineno"> 163</span> printf(<span class="stringliteral">"\nType message here: "</span>);</div>
|
||||
<div class="line"><span class="lineno"> 164</span> fgets(sendbuff, 1024, stdin);</div>
|
||||
<div class="line"><span class="lineno"> 165</span> send(sockfd, sendbuff, strlen(sendbuff) + 1, 0);</div>
|
||||
<div class="line"><span class="lineno"> 166</span> printf(<span class="stringliteral">"\nMessage sent!\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 167</span> sleep(5);</div>
|
||||
<div class="line"><span class="lineno"> 168</span> <span class="comment">// break;</span></div>
|
||||
<div class="line"><span class="lineno"> 169</span> }</div>
|
||||
<div class="line"><span class="lineno"> 170</span> }</div>
|
||||
<div class="line"><span class="lineno"> 171</span> <span class="keywordflow">else</span> <span class="comment">/// Parent Process</span></div>
|
||||
<div class="line"><span class="lineno"> 172</span> {</div>
|
||||
<div class="line"><span class="lineno"> 173</span> <span class="keywordflow">while</span> (1)</div>
|
||||
<div class="line"><span class="lineno"> 174</span> {</div>
|
||||
<div class="line"><span class="lineno"> 175</span> bzero(&recvbuff, <span class="keyword">sizeof</span>(recvbuff));</div>
|
||||
<div class="line"><span class="lineno"> 176</span> recv(sockfd, recvbuff, <span class="keyword">sizeof</span>(recvbuff), 0);</div>
|
||||
<div class="line"><span class="lineno"> 177</span> printf(<span class="stringliteral">"\nSERVER: %s\n"</span>, recvbuff);</div>
|
||||
<div class="line"><span class="lineno"> 178</span> sleep(5);</div>
|
||||
<div class="line"><span class="lineno"> 179</span> <span class="comment">// break;</span></div>
|
||||
<div class="line"><span class="lineno"> 180</span> }</div>
|
||||
<div class="line"><span class="lineno"> 181</span> }</div>
|
||||
<div class="line"><span class="lineno"> 182</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 183</span><span class="comment"> /// Close Socket</span></div>
|
||||
<div class="line"><span class="lineno"> 184</span><span class="comment"></span> close(sockfd);</div>
|
||||
<div class="line"><span class="lineno"> 185</span> printf(<span class="stringliteral">"Client is offline...\n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 186</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 187</span>}</div>
|
||||
<div class="ttc" id="astructpid_html"><div class="ttname"><a href="../../d0/d43/structpid.html">pid</a></div><div class="ttdoc">PID Controller.</div><div class="ttdef"><b>Definition</b> pid.c:31</div></div>
|
||||
<div class="ttc" id="atcp__full__duplex__client_8c_html_a614217d263be1fb1a5f76e2ff7be19a2"><div class="ttname"><a href="../../d1/d98/tcp__full__duplex__client_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a></div><div class="ttdeci">#define PORT</div><div class="ttdoc">For the type in_addr_t and in_port_t For structures returned by the network database library - format...</div><div class="ttdef"><b>Definition</b> tcp_full_duplex_client.c:31</div></div>
|
||||
<div class="ttc" id="atcp__full__duplex__client_8c_html_a7e15c8e2885871839fc2b820dfbdb4ce"><div class="ttname"><a href="../../d1/d98/tcp__full__duplex__client_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a></div><div class="ttdeci">void error()</div><div class="ttdoc">Utility function used to print an error message to stderr.</div><div class="ttdef"><b>Definition</b> tcp_full_duplex_client.c:39</div></div>
|
||||
<div class="ttc" id="atcp__full__duplex__client_8c_html_a614217d263be1fb1a5f76e2ff7be19a2"><div class="ttname"><a href="../../d1/d98/tcp__full__duplex__client_8c.html#a614217d263be1fb1a5f76e2ff7be19a2">PORT</a></div><div class="ttdeci">#define PORT</div><div class="ttdoc">For the type in_addr_t and in_port_t For structures returned by the network database library - format...</div><div class="ttdef"><b>Definition</b> tcp_full_duplex_client.c:44</div></div>
|
||||
<div class="ttc" id="atcp__full__duplex__client_8c_html_a7e15c8e2885871839fc2b820dfbdb4ce"><div class="ttname"><a href="../../d1/d98/tcp__full__duplex__client_8c.html#a7e15c8e2885871839fc2b820dfbdb4ce">error</a></div><div class="ttdeci">void error()</div><div class="ttdoc">Utility function used to print an error message to stderr.</div><div class="ttdef"><b>Definition</b> tcp_full_duplex_client.c:52</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
@ -369,7 +370,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_d20ad0b8de644c123692ba5582cc7a7b.html">client_server</a></li><li class="navelem"><a class="el" href="../../d1/d98/tcp__full__duplex__client_8c.html">tcp_full_duplex_client.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: cluster Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -105,15 +105,15 @@ $(document).ready(function(){initNavTree('d1/d99/structcluster.html','../../');
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a13278ef636c1d9bd9ce8fad736f4c570"><td class="memItemLeft" align="right" valign="top"><a id="a13278ef636c1d9bd9ce8fad736f4c570" name="a13278ef636c1d9bd9ce8fad736f4c570"></a>
|
||||
<tr class="memitem:a13278ef636c1d9bd9ce8fad736f4c570" id="r_a13278ef636c1d9bd9ce8fad736f4c570"><td class="memItemLeft" align="right" valign="top"><a id="a13278ef636c1d9bd9ce8fad736f4c570" name="a13278ef636c1d9bd9ce8fad736f4c570"></a>
|
||||
double </td><td class="memItemRight" valign="bottom"><b>x</b></td></tr>
|
||||
<tr class="memdesc:a13278ef636c1d9bd9ce8fad736f4c570"><td class="mdescLeft"> </td><td class="mdescRight">abscissa centroid of this cluster <br /></td></tr>
|
||||
<tr class="separator:a13278ef636c1d9bd9ce8fad736f4c570"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a10fa7010c12d0f03a422d68321495479"><td class="memItemLeft" align="right" valign="top"><a id="a10fa7010c12d0f03a422d68321495479" name="a10fa7010c12d0f03a422d68321495479"></a>
|
||||
<tr class="memitem:a10fa7010c12d0f03a422d68321495479" id="r_a10fa7010c12d0f03a422d68321495479"><td class="memItemLeft" align="right" valign="top"><a id="a10fa7010c12d0f03a422d68321495479" name="a10fa7010c12d0f03a422d68321495479"></a>
|
||||
double </td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
|
||||
<tr class="memdesc:a10fa7010c12d0f03a422d68321495479"><td class="mdescLeft"> </td><td class="mdescRight">ordinate of centroid of this cluster <br /></td></tr>
|
||||
<tr class="separator:a10fa7010c12d0f03a422d68321495479"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaacf0562ee2d9e8866c66ddaa6527c2b"><td class="memItemLeft" align="right" valign="top"><a id="aaacf0562ee2d9e8866c66ddaa6527c2b" name="aaacf0562ee2d9e8866c66ddaa6527c2b"></a>
|
||||
<tr class="memitem:aaacf0562ee2d9e8866c66ddaa6527c2b" id="r_aaacf0562ee2d9e8866c66ddaa6527c2b"><td class="memItemLeft" align="right" valign="top"><a id="aaacf0562ee2d9e8866c66ddaa6527c2b" name="aaacf0562ee2d9e8866c66ddaa6527c2b"></a>
|
||||
size_t </td><td class="memItemRight" valign="bottom"><b>count</b></td></tr>
|
||||
<tr class="memdesc:aaacf0562ee2d9e8866c66ddaa6527c2b"><td class="mdescLeft"> </td><td class="mdescRight">count of observations present in this cluster <br /></td></tr>
|
||||
<tr class="separator:aaacf0562ee2d9e8866c66ddaa6527c2b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -129,7 +129,7 @@ size_t </td><td class="memItemRight" valign="bottom"><b>count</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d1/d99/structcluster.html">cluster</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: StockSpanner Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,18 +110,18 @@ Collaboration diagram for StockSpanner:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a65f010a9390c5161d497c73cb86fc514"><td class="memItemLeft" align="right" valign="top"><a id="a65f010a9390c5161d497c73cb86fc514" name="a65f010a9390c5161d497c73cb86fc514"></a>
|
||||
<tr class="memitem:a65f010a9390c5161d497c73cb86fc514" id="r_a65f010a9390c5161d497c73cb86fc514"><td class="memItemLeft" align="right" valign="top"><a id="a65f010a9390c5161d497c73cb86fc514" name="a65f010a9390c5161d497c73cb86fc514"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>index</b></td></tr>
|
||||
<tr class="separator:a65f010a9390c5161d497c73cb86fc514"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae78fe78076bd5e6b7eaec996ac8482d7"><td class="memItemLeft" align="right" valign="top"><a id="ae78fe78076bd5e6b7eaec996ac8482d7" name="ae78fe78076bd5e6b7eaec996ac8482d7"></a>
|
||||
<tr class="memitem:ae78fe78076bd5e6b7eaec996ac8482d7" id="r_ae78fe78076bd5e6b7eaec996ac8482d7"><td class="memItemLeft" align="right" valign="top"><a id="ae78fe78076bd5e6b7eaec996ac8482d7" name="ae78fe78076bd5e6b7eaec996ac8482d7"></a>
|
||||
<a class="el" href="../../d4/d11/structstack.html">Stack</a> * </td><td class="memItemRight" valign="bottom"><b>stackPointer</b></td></tr>
|
||||
<tr class="separator:ae78fe78076bd5e6b7eaec996ac8482d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aae08aa1f0f1722979ec1d68f5d7209d8"><td class="memItemLeft" align="right" valign="top"><a id="aae08aa1f0f1722979ec1d68f5d7209d8" name="aae08aa1f0f1722979ec1d68f5d7209d8"></a>
|
||||
<tr class="memitem:aae08aa1f0f1722979ec1d68f5d7209d8" id="r_aae08aa1f0f1722979ec1d68f5d7209d8"><td class="memItemLeft" align="right" valign="top"><a id="aae08aa1f0f1722979ec1d68f5d7209d8" name="aae08aa1f0f1722979ec1d68f5d7209d8"></a>
|
||||
<a class="el" href="../../d4/d11/structstack.html">Stack</a> * </td><td class="memItemRight" valign="bottom"><b>sentry</b></td></tr>
|
||||
<tr class="separator:aae08aa1f0f1722979ec1d68f5d7209d8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>leetcode/src/901.c</li>
|
||||
<li>leetcode/src/<b>901.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -129,7 +129,7 @@ int </td><td class="memItemRight" valign="bottom"><b>index</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d1/dac/struct_stock_spanner.html">StockSpanner</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: conversions/decimal_to_any_base.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -119,22 +119,22 @@ Include dependency graph for decimal_to_any_base.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ae071f62d704823751bf9a085bf0a1bd7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#ae071f62d704823751bf9a085bf0a1bd7">isbad_alphabet</a> (const char *alphabet)</td></tr>
|
||||
<tr class="memitem:ae071f62d704823751bf9a085bf0a1bd7" id="r_ae071f62d704823751bf9a085bf0a1bd7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#ae071f62d704823751bf9a085bf0a1bd7">isbad_alphabet</a> (const char *alphabet)</td></tr>
|
||||
<tr class="memdesc:ae071f62d704823751bf9a085bf0a1bd7"><td class="mdescLeft"> </td><td class="mdescRight">for IO operations <br /></td></tr>
|
||||
<tr class="separator:ae071f62d704823751bf9a085bf0a1bd7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a899b3a7e0f1fac5a465eac0d4b10d711"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#a899b3a7e0f1fac5a465eac0d4b10d711">converted_len</a> (uint64_t nb, short base)</td></tr>
|
||||
<tr class="memitem:a899b3a7e0f1fac5a465eac0d4b10d711" id="r_a899b3a7e0f1fac5a465eac0d4b10d711"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#a899b3a7e0f1fac5a465eac0d4b10d711">converted_len</a> (uint64_t nb, short base)</td></tr>
|
||||
<tr class="memdesc:a899b3a7e0f1fac5a465eac0d4b10d711"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the final length of the converted number. <br /></td></tr>
|
||||
<tr class="separator:a899b3a7e0f1fac5a465eac0d4b10d711"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0c5ccb926a23bc0050f213ba3408e18d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#a0c5ccb926a23bc0050f213ba3408e18d">convertion</a> (uint64_t nb, const char *alphabet, short base, char *converted)</td></tr>
|
||||
<tr class="memitem:a0c5ccb926a23bc0050f213ba3408e18d" id="r_a0c5ccb926a23bc0050f213ba3408e18d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#a0c5ccb926a23bc0050f213ba3408e18d">convertion</a> (uint64_t nb, const char *alphabet, short base, char *converted)</td></tr>
|
||||
<tr class="memdesc:a0c5ccb926a23bc0050f213ba3408e18d"><td class="mdescLeft"> </td><td class="mdescRight">Convert positive decimal integer into anybase recursively. <br /></td></tr>
|
||||
<tr class="separator:a0c5ccb926a23bc0050f213ba3408e18d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3e4a7cfc97a528faa4d6e5741461109c"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#a3e4a7cfc97a528faa4d6e5741461109c">decimal_to_anybase</a> (uint64_t nb, const char *alphabet)</td></tr>
|
||||
<tr class="memitem:a3e4a7cfc97a528faa4d6e5741461109c" id="r_a3e4a7cfc97a528faa4d6e5741461109c"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#a3e4a7cfc97a528faa4d6e5741461109c">decimal_to_anybase</a> (uint64_t nb, const char *alphabet)</td></tr>
|
||||
<tr class="memdesc:a3e4a7cfc97a528faa4d6e5741461109c"><td class="mdescLeft"> </td><td class="mdescRight">decimal_to_anybase ensure the validity of the parameters and convert any unsigned integers into any ascii positive base <br /></td></tr>
|
||||
<tr class="separator:a3e4a7cfc97a528faa4d6e5741461109c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -501,7 +501,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9babc524d57e25f3d9f4179cabc3599e.html">conversions</a></li><li class="navelem"><a class="el" href="../../d1/dba/decimal__to__any__base_8c.html">decimal_to_any_base.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: data_structures/queue/include.h Source File</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -58,6 +58,11 @@ $(function() {
|
|||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
|
@ -138,7 +143,7 @@ $(document).ready(function(){initNavTree('d1/dbe/include_8h_source.html','../../
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_2e746e9d06bf2d8ff842208bcc6ebcfc.html">data_structures</a></li><li class="navelem"><a class="el" href="../../dir_fb09f588f9daea69f78b63a0310e98cc.html">queue</a></li><li class="navelem"><b>include.h</b></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: numerical_methods/ode_midpoint_euler.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,26 +118,26 @@ Include dependency graph for ode_midpoint_euler.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a9ceb646336224ee890a269d0b4600d09"><td class="memItemLeft" align="right" valign="top"><a id="a9ceb646336224ee890a269d0b4600d09" name="a9ceb646336224ee890a269d0b4600d09"></a>
|
||||
<tr class="memitem:a9ceb646336224ee890a269d0b4600d09" id="r_a9ceb646336224ee890a269d0b4600d09"><td class="memItemLeft" align="right" valign="top"><a id="a9ceb646336224ee890a269d0b4600d09" name="a9ceb646336224ee890a269d0b4600d09"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>order</b>   2</td></tr>
|
||||
<tr class="memdesc:a9ceb646336224ee890a269d0b4600d09"><td class="mdescLeft"> </td><td class="mdescRight">number of dependent variables in <a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a97075291390a68c262ed66e157a57eb4" title="Problem statement for a system with first-order differential equations.">problem</a> <br /></td></tr>
|
||||
<tr class="separator:a9ceb646336224ee890a269d0b4600d09"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a97075291390a68c262ed66e157a57eb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a> (const double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memitem:a97075291390a68c262ed66e157a57eb4" id="r_a97075291390a68c262ed66e157a57eb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a> (const double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memdesc:a97075291390a68c262ed66e157a57eb4"><td class="mdescLeft"> </td><td class="mdescRight">Problem statement for a system with first-order differential equations. <br /></td></tr>
|
||||
<tr class="separator:a97075291390a68c262ed66e157a57eb4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8caee977b26888d34040b122e0e28e3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a> (const double *x, double *y)</td></tr>
|
||||
<tr class="memitem:a8caee977b26888d34040b122e0e28e3a" id="r_a8caee977b26888d34040b122e0e28e3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a> (const double *x, double *y)</td></tr>
|
||||
<tr class="memdesc:a8caee977b26888d34040b122e0e28e3a"><td class="mdescLeft"> </td><td class="mdescRight">Exact solution of the problem. <br /></td></tr>
|
||||
<tr class="separator:a8caee977b26888d34040b122e0e28e3a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:affe6cc2ab040b94a29e6c41782f72d51"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#affe6cc2ab040b94a29e6c41782f72d51">midpoint_euler_step</a> (double dx, double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memitem:affe6cc2ab040b94a29e6c41782f72d51" id="r_affe6cc2ab040b94a29e6c41782f72d51"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#affe6cc2ab040b94a29e6c41782f72d51">midpoint_euler_step</a> (double dx, double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memdesc:affe6cc2ab040b94a29e6c41782f72d51"><td class="mdescLeft"> </td><td class="mdescRight">Compute next step approximation using the midpoint-Euler method. <br /></td></tr>
|
||||
<tr class="separator:affe6cc2ab040b94a29e6c41782f72d51"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a148003d8b261d040c1c41e73b40af1dd"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a148003d8b261d040c1c41e73b40af1dd">midpoint_euler</a> (double dx, double x0, double x_max, double *y, char save_to_file)</td></tr>
|
||||
<tr class="memitem:a148003d8b261d040c1c41e73b40af1dd" id="r_a148003d8b261d040c1c41e73b40af1dd"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a148003d8b261d040c1c41e73b40af1dd">midpoint_euler</a> (double dx, double x0, double x_max, double *y, char save_to_file)</td></tr>
|
||||
<tr class="memdesc:a148003d8b261d040c1c41e73b40af1dd"><td class="mdescLeft"> </td><td class="mdescRight">Compute approximation using the midpoint-Euler method in the given limits. <br /></td></tr>
|
||||
<tr class="separator:a148003d8b261d040c1c41e73b40af1dd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">Main Function. <br /></td></tr>
|
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -514,7 +514,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9c6faab82c22511b50177aa2e38e2780.html">numerical_methods</a></li><li class="navelem"><a class="el" href="../../d1/dc2/ode__midpoint__euler_8c.html">ode_midpoint_euler.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: misc/run_length_encoding.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -117,13 +117,13 @@ Include dependency graph for run_length_encoding.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ac3cc4a63cf2a14a08e05c5537ecf59c2"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc7/run__length__encoding_8c.html#ac3cc4a63cf2a14a08e05c5537ecf59c2">run_length_encode</a> (char *str)</td></tr>
|
||||
<tr class="memitem:ac3cc4a63cf2a14a08e05c5537ecf59c2" id="r_ac3cc4a63cf2a14a08e05c5537ecf59c2"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc7/run__length__encoding_8c.html#ac3cc4a63cf2a14a08e05c5537ecf59c2">run_length_encode</a> (char *str)</td></tr>
|
||||
<tr class="memdesc:ac3cc4a63cf2a14a08e05c5537ecf59c2"><td class="mdescLeft"> </td><td class="mdescRight">for IO operations <br /></td></tr>
|
||||
<tr class="separator:ac3cc4a63cf2a14a08e05c5537ecf59c2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc7/run__length__encoding_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc7/run__length__encoding_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc7/run__length__encoding_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dc7/run__length__encoding_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -287,7 +287,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_a52f4d3d586a58b02f3a4ddf0a992157.html">misc</a></li><li class="navelem"><a class="el" href="../../d1/dc7/run__length__encoding_8c.html">run_length_encoding.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Misc</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,16 +108,16 @@ $(document).ready(function(){initNavTree('d1/ded/group__misc.html','../../'); in
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:gac1a7a8e00eeb590511465c28fae16e54"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/ded/group__misc.html#gac1a7a8e00eeb590511465c28fae16e54">prime</a> (int *p)</td></tr>
|
||||
<tr class="memitem:gac1a7a8e00eeb590511465c28fae16e54" id="r_gac1a7a8e00eeb590511465c28fae16e54"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/ded/group__misc.html#gac1a7a8e00eeb590511465c28fae16e54">prime</a> (int *p)</td></tr>
|
||||
<tr class="memdesc:gac1a7a8e00eeb590511465c28fae16e54"><td class="mdescLeft"> </td><td class="mdescRight">Prime Sieve works in O(nlogn) time. <br /></td></tr>
|
||||
<tr class="separator:gac1a7a8e00eeb590511465c28fae16e54"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga6f8e8c9d25b5891d57e588d80d75028a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/ded/group__misc.html#ga6f8e8c9d25b5891d57e588d80d75028a">count</a> (int *arr, const int size)</td></tr>
|
||||
<tr class="memitem:ga6f8e8c9d25b5891d57e588d80d75028a" id="r_ga6f8e8c9d25b5891d57e588d80d75028a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/ded/group__misc.html#ga6f8e8c9d25b5891d57e588d80d75028a">count</a> (int *arr, const int size)</td></tr>
|
||||
<tr class="memdesc:ga6f8e8c9d25b5891d57e588d80d75028a"><td class="mdescLeft"> </td><td class="mdescRight">Count func counts the number of prime numbers. <br /></td></tr>
|
||||
<tr class="separator:ga6f8e8c9d25b5891d57e588d80d75028a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/ded/group__misc.html#gaa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:gaa8dca7b867074164d5f45b0f3851269d" id="r_gaa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/ded/group__misc.html#gaa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:gaa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Test implementations. <br /></td></tr>
|
||||
<tr class="separator:gaa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gac0f2228420376f4db7e1274f2b41667c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/ded/group__misc.html#gac0f2228420376f4db7e1274f2b41667c">main</a> (int argc, const char *argv[])</td></tr>
|
||||
<tr class="memitem:gac0f2228420376f4db7e1274f2b41667c" id="r_gac0f2228420376f4db7e1274f2b41667c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/ded/group__misc.html#gac0f2228420376f4db7e1274f2b41667c">main</a> (int argc, const char *argv[])</td></tr>
|
||||
<tr class="memdesc:gac0f2228420376f4db7e1274f2b41667c"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:gac0f2228420376f4db7e1274f2b41667c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -309,7 +309,7 @@ Here is the call graph for this function:</div>
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_26/sol1.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,28 +118,117 @@ Include dependency graph for sol1.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a619eec3220cebd7c5e455edbb14e9b12"><td class="memItemLeft" align="right" valign="top"><a id="a619eec3220cebd7c5e455edbb14e9b12" name="a619eec3220cebd7c5e455edbb14e9b12"></a>
|
||||
<tr class="memitem:a619eec3220cebd7c5e455edbb14e9b12" id="r_a619eec3220cebd7c5e455edbb14e9b12"><td class="memItemLeft" align="right" valign="top"><a id="a619eec3220cebd7c5e455edbb14e9b12" name="a619eec3220cebd7c5e455edbb14e9b12"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>MAX_DENO</b>   2000</td></tr>
|
||||
<tr class="memdesc:a619eec3220cebd7c5e455edbb14e9b12"><td class="mdescLeft"> </td><td class="mdescRight">limit of unit fractions <br /></td></tr>
|
||||
<tr class="separator:a619eec3220cebd7c5e455edbb14e9b12"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aabf4f709c8199e41cf279c77112345fe"><td class="memItemLeft" align="right" valign="top"><a id="aabf4f709c8199e41cf279c77112345fe" name="aabf4f709c8199e41cf279c77112345fe"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>MAX_LEN</b>    (<a class="el" href="../../d1/df9/problem__26_2sol1_8c.html#a619eec3220cebd7c5e455edbb14e9b12">MAX_DENO</a> + 10)</td></tr>
|
||||
<tr class="memdesc:aabf4f709c8199e41cf279c77112345fe"><td class="mdescLeft"> </td><td class="mdescRight">length of resulting recurring fraction number <br /></td></tr>
|
||||
<tr class="memitem:aabf4f709c8199e41cf279c77112345fe" id="r_aabf4f709c8199e41cf279c77112345fe"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df9/problem__26_2sol1_8c.html#aabf4f709c8199e41cf279c77112345fe">MAX_LEN</a>    (<a class="el" href="../../d1/df9/problem__26_2sol1_8c.html#a619eec3220cebd7c5e455edbb14e9b12">MAX_DENO</a> + 10)</td></tr>
|
||||
<tr class="memdesc:aabf4f709c8199e41cf279c77112345fe"><td class="mdescLeft"> </td><td class="mdescRight">length of resulting recurring fraction number <br /></td></tr>
|
||||
<tr class="separator:aabf4f709c8199e41cf279c77112345fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ac70138609ef6aa6fabca57aca8681e83"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df9/problem__26_2sol1_8c.html#ac70138609ef6aa6fabca57aca8681e83">compare</a> (const void *a, const void *b)</td></tr>
|
||||
<tr class="memitem:ac70138609ef6aa6fabca57aca8681e83" id="r_ac70138609ef6aa6fabca57aca8681e83"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df9/problem__26_2sol1_8c.html#ac70138609ef6aa6fabca57aca8681e83">compare</a> (const void *a, const void *b)</td></tr>
|
||||
<tr class="memdesc:ac70138609ef6aa6fabca57aca8681e83"><td class="mdescLeft"> </td><td class="mdescRight">comparison function for use with internal <code>qsort</code> algorithm <br /></td></tr>
|
||||
<tr class="separator:ac70138609ef6aa6fabca57aca8681e83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df9/problem__26_2sol1_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df9/problem__26_2sol1_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p><a href="https://projecteuler.net/problem=26" target="_blank">Problem 26</a> solution </p>
|
||||
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/kvedala" target="_blank">Krishna Vedala</a> </dd></dl>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="aabf4f709c8199e41cf279c77112345fe" name="aabf4f709c8199e41cf279c77112345fe"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aabf4f709c8199e41cf279c77112345fe">◆ </a></span>MAX_LEN</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MAX_LEN    (<a class="el" href="../../d1/df9/problem__26_2sol1_8c.html#a619eec3220cebd7c5e455edbb14e9b12">MAX_DENO</a> + 10)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>length of resulting recurring fraction number </p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 19</span>{</div>
|
||||
<div class="line"><span class="lineno"> 20</span> <span class="keywordflow">return</span> (*(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> *)a - *(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> *)b);</div>
|
||||
<div class="line"><span class="lineno"> 21</span>}</div>
|
||||
<div class="line"><span class="lineno"> 22</span><span class="comment"></span> </div>
|
||||
<div class="line"><span class="lineno"> 23</span><span class="comment">/** Main function */</span></div>
|
||||
<div class="line"><span class="lineno"> 24</span><span class="keywordtype">int</span> <a class="code hl_function" href="../../da/d35/problem__1_2sol1_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[])</div>
|
||||
<div class="line"><span class="lineno"> 25</span>{</div>
|
||||
<div class="line"><span class="lineno"> 26</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> max_digits = 0, max_idx_number = 0;</div>
|
||||
<div class="line"><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><span class="lineno"> 28</span> clock_t start_time = clock();</div>
|
||||
<div class="line"><span class="lineno"> 29</span> <span class="keywordtype">short</span> deno;</div>
|
||||
<div class="line"><span class="lineno"> 30</span><span class="preprocessor">#ifdef _OPENMP</span></div>
|
||||
<div class="line"><span class="lineno"> 31</span><span class="preprocessor">#pragma omp for</span></div>
|
||||
<div class="line"><span class="lineno"> 32</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><span class="lineno"> 33</span> <span class="keywordflow">for</span> (deno = 2; deno < <a class="code hl_define" href="../../d1/df9/problem__26_2sol1_8c.html#a619eec3220cebd7c5e455edbb14e9b12">MAX_DENO</a>; deno++)</div>
|
||||
<div class="line"><span class="lineno"> 34</span> {</div>
|
||||
<div class="line"><span class="lineno"> 35</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> remainders[<a class="code hl_define" href="../../d1/df9/problem__26_2sol1_8c.html#aabf4f709c8199e41cf279c77112345fe">MAX_LEN</a>];</div>
|
||||
<div class="line"><span class="lineno"> 36</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> rem = 1, *rem_ptr = remainders;</div>
|
||||
<div class="line"><span class="lineno"> 37</span> memset(remainders, (<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>)-1,</div>
|
||||
<div class="line"><span class="lineno"> 38</span> <a class="code hl_define" href="../../d1/df9/problem__26_2sol1_8c.html#aabf4f709c8199e41cf279c77112345fe">MAX_LEN</a> * <span class="keyword">sizeof</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>));</div>
|
||||
<div class="line"><span class="lineno"> 39</span> <span class="comment">// remainders[0] = 1;</span></div>
|
||||
<div class="line"><span class="lineno"> 40</span> <span class="comment">// printf("1/%-4u\t ", deno);</span></div>
|
||||
<div class="line"><span class="lineno"> 41</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> index = 0, num_digits;</div>
|
||||
<div class="line"><span class="lineno"> 42</span> </div>
|
||||
<div class="line"><span class="lineno"> 43</span> <span class="keywordflow">while</span> (rem != 0)</div>
|
||||
<div class="line"><span class="lineno"> 44</span> {</div>
|
||||
<div class="line"><span class="lineno"> 45</span> rem = (rem * 10) % deno;</div>
|
||||
<div class="line"><span class="lineno"> 46</span> <span class="keywordflow">if</span> (rem == 0)</div>
|
||||
<div class="line"><span class="lineno"> 47</span> {</div>
|
||||
<div class="line"><span class="lineno"> 48</span> index = 0;</div>
|
||||
<div class="line"><span class="lineno"> 49</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><span class="lineno"> 50</span> }</div>
|
||||
<div class="line"><span class="lineno"> 51</span> rem_ptr = (<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> *)bsearch(</div>
|
||||
<div class="line"><span class="lineno"> 52</span> &rem, remainders, <a class="code hl_define" href="../../d1/df9/problem__26_2sol1_8c.html#aabf4f709c8199e41cf279c77112345fe">MAX_LEN</a>, <span class="keyword">sizeof</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>), <a class="code hl_function" href="../../d1/df9/problem__26_2sol1_8c.html#ac70138609ef6aa6fabca57aca8681e83">compare</a>);</div>
|
||||
<div class="line"><span class="lineno"> 53</span> <span class="comment">// printf("%2d, ", rem);</span></div>
|
||||
<div class="line"><span class="lineno"> 54</span> <span class="comment">// printf("(%14p), ", rem_ptr);</span></div>
|
||||
<div class="line"><span class="lineno"> 55</span> <span class="keywordflow">if</span> (rem_ptr != NULL)</div>
|
||||
<div class="line"><span class="lineno"> 56</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><span class="lineno"> 57</span> remainders[index] = rem;</div>
|
||||
<div class="line"><span class="lineno"> 58</span> rem_ptr = remainders;</div>
|
||||
<div class="line"><span class="lineno"> 59</span> index++;</div>
|
||||
<div class="line"><span class="lineno"> 60</span> }</div>
|
||||
<div class="line"><span class="lineno"> 61</span> </div>
|
||||
<div class="line"><span class="lineno"> 62</span> num_digits = index - (rem_ptr - remainders);</div>
|
||||
<div class="line"><span class="lineno"> 63</span> <span class="comment">// printf("\n\t(%14p, %14p, %4u, %4u)\n", rem_ptr, remainders, index,</span></div>
|
||||
<div class="line"><span class="lineno"> 64</span> <span class="comment">// num_digits);</span></div>
|
||||
<div class="line"><span class="lineno"> 65</span><span class="preprocessor">#ifdef _OPENMP</span></div>
|
||||
<div class="line"><span class="lineno"> 66</span><span class="preprocessor">#pragma omp critical</span></div>
|
||||
<div class="line"><span class="lineno"> 67</span> {</div>
|
||||
<div class="line"><span class="lineno"> 68</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><span class="lineno"> 69</span> <span class="keywordflow">if</span> (num_digits > max_digits)</div>
|
||||
<div class="line"><span class="lineno"> 70</span> {</div>
|
||||
<div class="line"><span class="lineno"> 71</span> max_digits = num_digits;</div>
|
||||
<div class="line"><span class="lineno"> 72</span> max_idx_number = deno;</div>
|
||||
<div class="line"><span class="lineno"> 73</span> <span class="comment">// printf("\t (%u, %u)\n ", max_digits, max_idx_number);</span></div>
|
||||
<div class="line"><span class="lineno"> 74</span> }</div>
|
||||
<div class="line"><span class="lineno"> 75</span><span class="preprocessor">#ifdef _OPENMP</span></div>
|
||||
<div class="line"><span class="lineno"> 76</span> }</div>
|
||||
<div class="line"><span class="lineno"> 77</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><span class="lineno"> 78</span> }</div>
|
||||
<div class="line"><span class="lineno"> 79</span> clock_t end_time = clock();</div>
|
||||
<div class="line"><span class="lineno"> 80</span> </div>
|
||||
<div class="line"><span class="lineno"> 81</span> printf(<span class="stringliteral">"Time taken: %.4g ms\n"</span>,</div>
|
||||
<div class="line"><span class="lineno"> 82</span> 1e3 * (<span class="keywordtype">double</span>)(end_time - start_time) / CLOCKS_PER_SEC);</div>
|
||||
<div class="line"><span class="lineno"> 83</span> printf(<span class="stringliteral">"Maximum digits: %hu\t Denominator: %hu\n"</span>, max_digits,</div>
|
||||
<div class="line"><span class="lineno"> 84</span> max_idx_number);</div>
|
||||
<div class="line"><span class="lineno"> 85</span> </div>
|
||||
<div class="line"><span class="lineno"> 86</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 87</span>}</div>
|
||||
<div class="ttc" id="aproblem__1_2sol1_8c_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../da/d35/problem__1_2sol1_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdoc">Main function.</div><div class="ttdef"><b>Definition</b> sol1.c:12</div></div>
|
||||
<div class="ttc" id="aproblem__26_2sol1_8c_html_a619eec3220cebd7c5e455edbb14e9b12"><div class="ttname"><a href="../../d1/df9/problem__26_2sol1_8c.html#a619eec3220cebd7c5e455edbb14e9b12">MAX_DENO</a></div><div class="ttdeci">#define MAX_DENO</div><div class="ttdoc">limit of unit fractions</div><div class="ttdef"><b>Definition</b> sol1.c:14</div></div>
|
||||
<div class="ttc" id="aproblem__26_2sol1_8c_html_aabf4f709c8199e41cf279c77112345fe"><div class="ttname"><a href="../../d1/df9/problem__26_2sol1_8c.html#aabf4f709c8199e41cf279c77112345fe">MAX_LEN</a></div><div class="ttdeci">#define MAX_LEN</div><div class="ttdoc">length of resulting recurring fraction number</div><div class="ttdef"><b>Definition</b> sol1.c:15</div></div>
|
||||
<div class="ttc" id="aproblem__26_2sol1_8c_html_ac70138609ef6aa6fabca57aca8681e83"><div class="ttname"><a href="../../d1/df9/problem__26_2sol1_8c.html#ac70138609ef6aa6fabca57aca8681e83">compare</a></div><div class="ttdeci">int compare(const void *a, const void *b)</div><div class="ttdoc">comparison function for use with internal qsort algorithm</div><div class="ttdef"><b>Definition</b> sol1.c:19</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="ac70138609ef6aa6fabca57aca8681e83" name="ac70138609ef6aa6fabca57aca8681e83"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac70138609ef6aa6fabca57aca8681e83">◆ </a></span>compare()</h2>
|
||||
|
||||
|
@ -263,9 +352,6 @@ Functions</h2></td></tr>
|
|||
<div class="line"><span class="lineno"> 86</span> </div>
|
||||
<div class="line"><span class="lineno"> 87</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 88</span>}</div>
|
||||
<div class="ttc" id="aproblem__26_2sol1_8c_html_a619eec3220cebd7c5e455edbb14e9b12"><div class="ttname"><a href="../../d1/df9/problem__26_2sol1_8c.html#a619eec3220cebd7c5e455edbb14e9b12">MAX_DENO</a></div><div class="ttdeci">#define MAX_DENO</div><div class="ttdoc">limit of unit fractions</div><div class="ttdef"><b>Definition</b> sol1.c:14</div></div>
|
||||
<div class="ttc" id="aproblem__26_2sol1_8c_html_aabf4f709c8199e41cf279c77112345fe"><div class="ttname"><a href="../../d1/df9/problem__26_2sol1_8c.html#aabf4f709c8199e41cf279c77112345fe">MAX_LEN</a></div><div class="ttdeci">#define MAX_LEN</div><div class="ttdoc">length of resulting recurring fraction number</div><div class="ttdef"><b>Definition</b> sol1.c:15</div></div>
|
||||
<div class="ttc" id="aproblem__26_2sol1_8c_html_ac70138609ef6aa6fabca57aca8681e83"><div class="ttname"><a href="../../d1/df9/problem__26_2sol1_8c.html#ac70138609ef6aa6fabca57aca8681e83">compare</a></div><div class="ttdeci">int compare(const void *a, const void *b)</div><div class="ttdoc">comparison function for use with internal qsort algorithm</div><div class="ttdef"><b>Definition</b> sol1.c:19</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
@ -280,7 +366,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_16e00c78ef36d1842d0d8a4afc46b852.html">problem_26</a></li><li class="navelem"><a class="el" href="../../d1/df9/problem__26_2sol1_8c.html">sol1.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Hash algorithms</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -114,7 +114,7 @@ $(document).ready(function(){initNavTree('d1/dfe/md_hash_2_r_e_a_d_m_e.html','..
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: queue Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,25 +110,25 @@ Collaboration diagram for queue:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a0da4061b8634159fd21e72b34f289e01"><td class="memItemLeft" align="right" valign="top"><a id="a0da4061b8634159fd21e72b34f289e01" name="a0da4061b8634159fd21e72b34f289e01"></a>
|
||||
<tr class="memitem:a0da4061b8634159fd21e72b34f289e01" id="r_a0da4061b8634159fd21e72b34f289e01"><td class="memItemLeft" align="right" valign="top"><a id="a0da4061b8634159fd21e72b34f289e01" name="a0da4061b8634159fd21e72b34f289e01"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>items</b> [SIZE]</td></tr>
|
||||
<tr class="separator:a0da4061b8634159fd21e72b34f289e01"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6c50c7c8bcd9c5962996ed8b1be8771c"><td class="memItemLeft" align="right" valign="top"><a id="a6c50c7c8bcd9c5962996ed8b1be8771c" name="a6c50c7c8bcd9c5962996ed8b1be8771c"></a>
|
||||
<tr class="memitem:a6c50c7c8bcd9c5962996ed8b1be8771c" id="r_a6c50c7c8bcd9c5962996ed8b1be8771c"><td class="memItemLeft" align="right" valign="top"><a id="a6c50c7c8bcd9c5962996ed8b1be8771c" name="a6c50c7c8bcd9c5962996ed8b1be8771c"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>front</b></td></tr>
|
||||
<tr class="separator:a6c50c7c8bcd9c5962996ed8b1be8771c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a473ab80725514ce07817f87ed1fb136f"><td class="memItemLeft" align="right" valign="top"><a id="a473ab80725514ce07817f87ed1fb136f" name="a473ab80725514ce07817f87ed1fb136f"></a>
|
||||
<tr class="memitem:a473ab80725514ce07817f87ed1fb136f" id="r_a473ab80725514ce07817f87ed1fb136f"><td class="memItemLeft" align="right" valign="top"><a id="a473ab80725514ce07817f87ed1fb136f" name="a473ab80725514ce07817f87ed1fb136f"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>rear</b></td></tr>
|
||||
<tr class="separator:a473ab80725514ce07817f87ed1fb136f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ade1be9c3ada77e8e182ee4fe1e1fff05"><td class="memItemLeft" align="right" valign="top"><a id="ade1be9c3ada77e8e182ee4fe1e1fff05" name="ade1be9c3ada77e8e182ee4fe1e1fff05"></a>
|
||||
<tr class="memitem:ade1be9c3ada77e8e182ee4fe1e1fff05" id="r_ade1be9c3ada77e8e182ee4fe1e1fff05"><td class="memItemLeft" align="right" valign="top"><a id="ade1be9c3ada77e8e182ee4fe1e1fff05" name="ade1be9c3ada77e8e182ee4fe1e1fff05"></a>
|
||||
struct <a class="el" href="../../d5/da1/structnode.html">node</a> * </td><td class="memItemRight" valign="bottom"><b>front</b></td></tr>
|
||||
<tr class="separator:ade1be9c3ada77e8e182ee4fe1e1fff05"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa5eb0f1e96748486046b9543ace2082a"><td class="memItemLeft" align="right" valign="top"><a id="aa5eb0f1e96748486046b9543ace2082a" name="aa5eb0f1e96748486046b9543ace2082a"></a>
|
||||
<tr class="memitem:aa5eb0f1e96748486046b9543ace2082a" id="r_aa5eb0f1e96748486046b9543ace2082a"><td class="memItemLeft" align="right" valign="top"><a id="aa5eb0f1e96748486046b9543ace2082a" name="aa5eb0f1e96748486046b9543ace2082a"></a>
|
||||
struct <a class="el" href="../../d5/da1/structnode.html">node</a> * </td><td class="memItemRight" valign="bottom"><b>rear</b></td></tr>
|
||||
<tr class="separator:aa5eb0f1e96748486046b9543ace2082a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following files:<ul>
|
||||
<li>data_structures/graphs/bfs.c</li>
|
||||
<li>data_structures/linked_list/queue_linked_list.c</li>
|
||||
<li>data_structures/graphs/<b>bfs.c</b></li>
|
||||
<li>data_structures/linked_list/<b>queue_linked_list.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -136,7 +136,7 @@ struct <a class="el" href="../../d5/da1/structnode.html">node</a> * </td><t
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d2/d36/structqueue.html">queue</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
<map id="client_server/tcp_full_duplex_server.c" name="client_server/tcp_full_duplex_server.c">
|
||||
<area shape="rect" id="Node000001" title="Server-side implementation of TCP Full Duplex Communication" alt="" coords="400,5,541,46"/>
|
||||
<area shape="rect" id="Node000001" title="Server-side implementation of TCP Full Duplex Communication" alt="" coords="455,5,596,46"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,88,120"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="400,42,103,96,102,91,399,37"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="454,40,297,63,103,96,102,91,296,58,453,34"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="112,94,176,120"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="400,46,191,96,190,91,399,41"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="455,42,191,96,190,91,454,37"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="200,94,285,120"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="414,49,292,91,290,86,413,44"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="309,94,373,120"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="440,49,375,88,372,84,437,44"/>
|
||||
<area shape="rect" id="Node000006" title=" " alt="" coords="398,94,458,120"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="462,48,444,82,439,79,458,45"/>
|
||||
<area shape="rect" id="Node000007" title=" " alt="" coords="482,94,545,120"/>
|
||||
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="483,45,502,79,497,82,479,48"/>
|
||||
<area shape="rect" id="Node000008" title=" " alt="" coords="569,94,633,120"/>
|
||||
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="505,44,570,84,568,88,502,49"/>
|
||||
<area shape="rect" id="Node000009" title=" " alt="" coords="657,94,753,120"/>
|
||||
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="530,44,656,86,655,91,528,49"/>
|
||||
<area shape="rect" id="Node000010" title=" " alt="" coords="778,94,867,120"/>
|
||||
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="542,40,764,90,763,95,541,45"/>
|
||||
<area shape="rect" id="Node000011" title=" " alt="" coords="892,94,959,120"/>
|
||||
<area shape="poly" id="edge10_Node000001_Node000011" title=" " alt="" coords="542,34,692,57,878,91,877,96,692,62,541,39"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="455,49,300,92,299,87,454,44"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="309,94,405,120"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="484,49,397,90,395,85,482,44"/>
|
||||
<area shape="rect" id="Node000006" title=" " alt="" coords="430,94,519,120"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="515,48,492,83,488,80,510,45"/>
|
||||
<area shape="rect" id="Node000007" title=" " alt="" coords="544,94,611,120"/>
|
||||
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="540,45,563,80,559,83,536,48"/>
|
||||
<area shape="rect" id="Node000008" title=" " alt="" coords="634,94,699,120"/>
|
||||
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="562,44,634,84,631,89,559,49"/>
|
||||
<area shape="rect" id="Node000009" title=" " alt="" coords="723,94,783,120"/>
|
||||
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="583,44,710,88,708,93,581,49"/>
|
||||
<area shape="rect" id="Node000010" title=" " alt="" coords="807,94,870,120"/>
|
||||
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="597,42,793,91,792,96,595,47"/>
|
||||
<area shape="rect" id="Node000011" title=" " alt="" coords="894,94,959,120"/>
|
||||
<area shape="poly" id="edge10_Node000001_Node000011" title=" " alt="" coords="597,36,725,59,880,91,879,96,724,64,596,41"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
128a3f90ccaf3eb1a909ac1b3de37798
|
||||
e61cc31174a6d5a25573a6a514241ea5
|
|
@ -58,9 +58,9 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Server-side implementation of TCP Full Duplex Communication">
|
||||
<polygon fill="#999999" stroke="#666666" points="401.88,-85.75 295.88,-85.75 295.88,-55.25 401.88,-55.25 401.88,-85.75"/>
|
||||
<text text-anchor="start" x="303.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">client_server/tcp_full</text>
|
||||
<text text-anchor="middle" x="348.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_duplex_server.c</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="442.88,-85.75 336.88,-85.75 336.88,-55.25 442.88,-55.25 442.88,-85.75"/>
|
||||
<text text-anchor="start" x="344.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">client_server/tcp_full</text>
|
||||
<text text-anchor="middle" x="389.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_duplex_server.c</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -77,8 +77,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.48,-60.4C241.74,-51.11 156.19,-36 72.58,-19.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.35,-15.92 62.86,-17.41 71.99,-22.79 73.35,-15.92"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.38,-62.01C275.12,-53.22 171.49,-37.73 72.63,-19.49"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.32,-15.87 62.85,-17.48 72.04,-22.75 73.32,-15.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -95,8 +95,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.65,-57.24C255.15,-47.83 197.78,-34.33 138.97,-19.73"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.92,-16.11 129.37,-17.09 138.23,-22.91 139.92,-16.11"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.86,-59.92C287.84,-50.85 212.74,-36.41 138.77,-19.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.87,-16.02 129.34,-17.19 138.31,-22.84 139.87,-16.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -113,8 +113,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M306.17,-54.8C277.96,-45.08 241.38,-32.49 214.5,-23.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="215.95,-19.69 205.35,-19.74 213.67,-26.31 215.95,-19.69"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.93,-54.8C300.96,-44.81 254.01,-31.77 220.47,-22.45"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="221.65,-18.87 211.08,-19.57 219.77,-25.62 221.65,-18.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -122,8 +122,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="276,-19.25 227.75,-19.25 227.75,0 276,0 276,-19.25"/>
|
||||
<text text-anchor="middle" x="251.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdint.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="300,-19.25 227.75,-19.25 227.75,0 300,0 300,-19.25"/>
|
||||
<text text-anchor="middle" x="263.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/socket.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -131,8 +131,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M324.9,-54.95C309.99,-45.9 290.88,-34.3 275.95,-25.24"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="278.19,-21.9 267.83,-19.7 274.56,-27.88 278.19,-21.9"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M358.4,-54.8C338.39,-45.44 312.64,-33.41 293.08,-24.27"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.74,-20.72 284.2,-19.65 291.78,-27.06 294.74,-20.72"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -140,8 +140,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="339.5,-19.25 294.25,-19.25 294.25,0 339.5,0 339.5,-19.25"/>
|
||||
<text text-anchor="middle" x="316.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdio.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="385.38,-19.25 318.38,-19.25 318.38,0 385.38,0 385.38,-19.25"/>
|
||||
<text text-anchor="middle" x="351.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/types.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -149,8 +149,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge5_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.96,-54.95C336.75,-47.19 331.52,-37.56 327,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="329.66,-27.82 321.81,-20.7 323.51,-31.16 329.66,-27.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M380.48,-54.95C375.36,-47.02 368.98,-37.13 363.55,-28.71"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="366.1,-27.21 357.73,-20.7 360.22,-31 366.1,-27.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -158,8 +158,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="404.62,-19.25 357.12,-19.25 357.12,0 404.62,0 404.62,-19.25"/>
|
||||
<text text-anchor="middle" x="380.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdlib.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="454.12,-19.25 403.62,-19.25 403.62,0 454.12,0 454.12,-19.25"/>
|
||||
<text text-anchor="middle" x="428.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unistd.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -167,8 +167,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge6_Node000001_Node000007" class="edge">
|
||||
<title>Node1->Node7</title>
|
||||
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M356.79,-54.95C361,-47.19 366.23,-37.56 370.75,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="374.24,-31.16 375.94,-20.7 368.09,-27.82 374.24,-31.16"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M399.52,-54.95C404.77,-47.02 411.32,-37.13 416.9,-28.71"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="420.26,-30.97 422.86,-20.7 414.42,-27.11 420.26,-30.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -176,8 +176,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="471,-19.25 422.75,-19.25 422.75,0 471,0 471,-19.25"/>
|
||||
<text text-anchor="middle" x="446.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="520,-19.25 471.75,-19.25 471.75,0 520,0 520,-19.25"/>
|
||||
<text text-anchor="middle" x="495.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdint.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -185,8 +185,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge7_Node000001_Node000008" class="edge">
|
||||
<title>Node1->Node8</title>
|
||||
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M373.35,-54.8C388.42,-45.74 407.66,-34.19 422.67,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="424.08,-27.8 430.85,-19.65 420.47,-21.8 424.08,-27.8"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M416.35,-54.8C432.8,-45.66 453.85,-33.97 470.16,-24.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="471.58,-27.57 478.62,-19.65 468.18,-21.45 471.58,-27.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -194,8 +194,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="561,-19.25 488.75,-19.25 488.75,0 561,0 561,-19.25"/>
|
||||
<text text-anchor="middle" x="524.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/socket.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="583.5,-19.25 538.25,-19.25 538.25,0 583.5,0 583.5,-19.25"/>
|
||||
<text text-anchor="middle" x="560.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdio.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -203,8 +203,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge8_Node000001_Node000009" class="edge">
|
||||
<title>Node1->Node9</title>
|
||||
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M392.83,-54.8C421.99,-45.04 459.85,-32.38 487.55,-23.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="488.25,-26.23 496.62,-19.74 486.03,-19.59 488.25,-26.23"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M432.58,-54.8C462.1,-44.63 500.79,-31.31 527.93,-21.97"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="528.76,-25.04 537.08,-18.47 526.49,-18.42 528.76,-25.04"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -212,8 +212,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="646.38,-19.25 579.38,-19.25 579.38,0 646.38,0 646.38,-19.25"/>
|
||||
<text text-anchor="middle" x="612.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/types.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="648.62,-19.25 601.12,-19.25 601.12,0 648.62,0 648.62,-19.25"/>
|
||||
<text text-anchor="middle" x="624.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdlib.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -221,8 +221,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge9_Node000001_Node000010" class="edge">
|
||||
<title>Node1->Node10</title>
|
||||
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M402.3,-57.59C451.26,-46.67 522.89,-30.69 568.7,-20.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="569.19,-23.73 578.19,-18.14 567.67,-16.9 569.19,-23.73"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M442.95,-56.68C481.55,-47.28 535.33,-34.04 590.47,-19.84"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="590.97,-23.07 599.78,-17.18 589.22,-16.29 590.97,-23.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -230,8 +230,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="715.12,-19.25 664.62,-19.25 664.62,0 715.12,0 715.12,-19.25"/>
|
||||
<text text-anchor="middle" x="689.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unistd.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="715,-19.25 666.75,-19.25 666.75,0 715,0 715,-19.25"/>
|
||||
<text text-anchor="middle" x="690.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -239,8 +239,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge10_Node000001_Node000011" class="edge">
|
||||
<title>Node1->Node11</title>
|
||||
<g id="a_edge10_Node000001_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M402.1,-62.21C461.31,-53.78 559.99,-38.8 653.78,-19.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="654.23,-22.82 663.31,-17.36 652.81,-15.97 654.23,-22.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M443.24,-60.63C495.16,-51.75 576.49,-37.16 655.75,-19.61"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="656.42,-22.82 665.41,-17.22 654.89,-15.99 656.42,-22.82"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
@ -5,16 +5,16 @@
|
|||
-->
|
||||
<!-- Title: client_server/tcp_full_duplex_server.c Pages: 1 -->
|
||||
<svg width="723pt" height="94pt"
|
||||
viewBox="0.00 0.00 723.12 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
viewBox="0.00 0.00 723.00 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
|
||||
<title>client_server/tcp_full_duplex_server.c</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Server-side implementation of TCP Full Duplex Communication">
|
||||
<polygon fill="#999999" stroke="#666666" points="401.88,-85.75 295.88,-85.75 295.88,-55.25 401.88,-55.25 401.88,-85.75"/>
|
||||
<text text-anchor="start" x="303.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">client_server/tcp_full</text>
|
||||
<text text-anchor="middle" x="348.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_duplex_server.c</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="442.88,-85.75 336.88,-85.75 336.88,-55.25 442.88,-55.25 442.88,-85.75"/>
|
||||
<text text-anchor="start" x="344.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">client_server/tcp_full</text>
|
||||
<text text-anchor="middle" x="389.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_duplex_server.c</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -31,8 +31,8 @@
|
|||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.48,-60.4C241.74,-51.11 156.19,-36 72.58,-19.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.35,-15.92 62.86,-17.41 71.99,-22.79 73.35,-15.92"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.38,-62.01C275.12,-53.22 171.49,-37.73 72.63,-19.49"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.32,-15.87 62.85,-17.48 72.04,-22.75 73.32,-15.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -49,8 +49,8 @@
|
|||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.65,-57.24C255.15,-47.83 197.78,-34.33 138.97,-19.73"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.92,-16.11 129.37,-17.09 138.23,-22.91 139.92,-16.11"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.86,-59.92C287.84,-50.85 212.74,-36.41 138.77,-19.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.87,-16.02 129.34,-17.19 138.31,-22.84 139.87,-16.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -67,8 +67,8 @@
|
|||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M306.17,-54.8C277.96,-45.08 241.38,-32.49 214.5,-23.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="215.95,-19.69 205.35,-19.74 213.67,-26.31 215.95,-19.69"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.93,-54.8C300.96,-44.81 254.01,-31.77 220.47,-22.45"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="221.65,-18.87 211.08,-19.57 219.77,-25.62 221.65,-18.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -76,8 +76,8 @@
|
|||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="276,-19.25 227.75,-19.25 227.75,0 276,0 276,-19.25"/>
|
||||
<text text-anchor="middle" x="251.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdint.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="300,-19.25 227.75,-19.25 227.75,0 300,0 300,-19.25"/>
|
||||
<text text-anchor="middle" x="263.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/socket.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -85,8 +85,8 @@
|
|||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M324.9,-54.95C309.99,-45.9 290.88,-34.3 275.95,-25.24"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="278.19,-21.9 267.83,-19.7 274.56,-27.88 278.19,-21.9"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M358.4,-54.8C338.39,-45.44 312.64,-33.41 293.08,-24.27"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.74,-20.72 284.2,-19.65 291.78,-27.06 294.74,-20.72"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -94,8 +94,8 @@
|
|||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="339.5,-19.25 294.25,-19.25 294.25,0 339.5,0 339.5,-19.25"/>
|
||||
<text text-anchor="middle" x="316.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdio.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="385.38,-19.25 318.38,-19.25 318.38,0 385.38,0 385.38,-19.25"/>
|
||||
<text text-anchor="middle" x="351.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/types.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -103,8 +103,8 @@
|
|||
<g id="edge5_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.96,-54.95C336.75,-47.19 331.52,-37.56 327,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="329.66,-27.82 321.81,-20.7 323.51,-31.16 329.66,-27.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M380.48,-54.95C375.36,-47.02 368.98,-37.13 363.55,-28.71"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="366.1,-27.21 357.73,-20.7 360.22,-31 366.1,-27.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -112,8 +112,8 @@
|
|||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="404.62,-19.25 357.12,-19.25 357.12,0 404.62,0 404.62,-19.25"/>
|
||||
<text text-anchor="middle" x="380.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdlib.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="454.12,-19.25 403.62,-19.25 403.62,0 454.12,0 454.12,-19.25"/>
|
||||
<text text-anchor="middle" x="428.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unistd.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -121,8 +121,8 @@
|
|||
<g id="edge6_Node000001_Node000007" class="edge">
|
||||
<title>Node1->Node7</title>
|
||||
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M356.79,-54.95C361,-47.19 366.23,-37.56 370.75,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="374.24,-31.16 375.94,-20.7 368.09,-27.82 374.24,-31.16"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M399.52,-54.95C404.77,-47.02 411.32,-37.13 416.9,-28.71"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="420.26,-30.97 422.86,-20.7 414.42,-27.11 420.26,-30.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -130,8 +130,8 @@
|
|||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="471,-19.25 422.75,-19.25 422.75,0 471,0 471,-19.25"/>
|
||||
<text text-anchor="middle" x="446.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="520,-19.25 471.75,-19.25 471.75,0 520,0 520,-19.25"/>
|
||||
<text text-anchor="middle" x="495.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdint.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -139,8 +139,8 @@
|
|||
<g id="edge7_Node000001_Node000008" class="edge">
|
||||
<title>Node1->Node8</title>
|
||||
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M373.35,-54.8C388.42,-45.74 407.66,-34.19 422.67,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="424.08,-27.8 430.85,-19.65 420.47,-21.8 424.08,-27.8"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M416.35,-54.8C432.8,-45.66 453.85,-33.97 470.16,-24.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="471.58,-27.57 478.62,-19.65 468.18,-21.45 471.58,-27.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -148,8 +148,8 @@
|
|||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="561,-19.25 488.75,-19.25 488.75,0 561,0 561,-19.25"/>
|
||||
<text text-anchor="middle" x="524.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/socket.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="583.5,-19.25 538.25,-19.25 538.25,0 583.5,0 583.5,-19.25"/>
|
||||
<text text-anchor="middle" x="560.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdio.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -157,8 +157,8 @@
|
|||
<g id="edge8_Node000001_Node000009" class="edge">
|
||||
<title>Node1->Node9</title>
|
||||
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M392.83,-54.8C421.99,-45.04 459.85,-32.38 487.55,-23.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="488.25,-26.23 496.62,-19.74 486.03,-19.59 488.25,-26.23"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M432.58,-54.8C462.1,-44.63 500.79,-31.31 527.93,-21.97"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="528.76,-25.04 537.08,-18.47 526.49,-18.42 528.76,-25.04"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -166,8 +166,8 @@
|
|||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="646.38,-19.25 579.38,-19.25 579.38,0 646.38,0 646.38,-19.25"/>
|
||||
<text text-anchor="middle" x="612.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/types.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="648.62,-19.25 601.12,-19.25 601.12,0 648.62,0 648.62,-19.25"/>
|
||||
<text text-anchor="middle" x="624.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdlib.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -175,8 +175,8 @@
|
|||
<g id="edge9_Node000001_Node000010" class="edge">
|
||||
<title>Node1->Node10</title>
|
||||
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M402.3,-57.59C451.26,-46.67 522.89,-30.69 568.7,-20.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="569.19,-23.73 578.19,-18.14 567.67,-16.9 569.19,-23.73"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M442.95,-56.68C481.55,-47.28 535.33,-34.04 590.47,-19.84"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="590.97,-23.07 599.78,-17.18 589.22,-16.29 590.97,-23.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -184,8 +184,8 @@
|
|||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="715.12,-19.25 664.62,-19.25 664.62,0 715.12,0 715.12,-19.25"/>
|
||||
<text text-anchor="middle" x="689.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unistd.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="715,-19.25 666.75,-19.25 666.75,0 715,0 715,-19.25"/>
|
||||
<text text-anchor="middle" x="690.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -193,8 +193,8 @@
|
|||
<g id="edge10_Node000001_Node000011" class="edge">
|
||||
<title>Node1->Node11</title>
|
||||
<g id="a_edge10_Node000001_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M402.1,-62.21C461.31,-53.78 559.99,-38.8 653.78,-19.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="654.23,-22.82 663.31,-17.36 652.81,-15.97 654.23,-22.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M443.24,-60.63C495.16,-51.75 576.49,-37.16 655.75,-19.61"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="656.42,-22.82 665.41,-17.22 654.89,-15.99 656.42,-22.82"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.4 KiB |
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: sorting/patience_sort.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,19 +116,19 @@ Include dependency graph for patience_sort.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a5ce3f8e766a38377168ae737605745c8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#a5ce3f8e766a38377168ae737605745c8">patienceSort</a> (int *array, int length)</td></tr>
|
||||
<tr class="memitem:a5ce3f8e766a38377168ae737605745c8" id="r_a5ce3f8e766a38377168ae737605745c8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#a5ce3f8e766a38377168ae737605745c8">patienceSort</a> (int *array, int length)</td></tr>
|
||||
<tr class="memdesc:a5ce3f8e766a38377168ae737605745c8"><td class="mdescLeft"> </td><td class="mdescRight">for assertions for IO operations for memory management <br /></td></tr>
|
||||
<tr class="separator:a5ce3f8e766a38377168ae737605745c8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a51db6714f25747b7de0daca675363e19"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#a51db6714f25747b7de0daca675363e19">printArray</a> (int *array, int length)</td></tr>
|
||||
<tr class="memitem:a51db6714f25747b7de0daca675363e19" id="r_a51db6714f25747b7de0daca675363e19"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#a51db6714f25747b7de0daca675363e19">printArray</a> (int *array, int length)</td></tr>
|
||||
<tr class="memdesc:a51db6714f25747b7de0daca675363e19"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to print an array. <br /></td></tr>
|
||||
<tr class="separator:a51db6714f25747b7de0daca675363e19"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af0cc492037e002ba5145e2e770ed0e66"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#af0cc492037e002ba5145e2e770ed0e66">testArray</a> (int *array, int length)</td></tr>
|
||||
<tr class="memitem:af0cc492037e002ba5145e2e770ed0e66" id="r_af0cc492037e002ba5145e2e770ed0e66"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#af0cc492037e002ba5145e2e770ed0e66">testArray</a> (int *array, int length)</td></tr>
|
||||
<tr class="memdesc:af0cc492037e002ba5145e2e770ed0e66"><td class="mdescLeft"> </td><td class="mdescRight">Testing Helper function. <br /></td></tr>
|
||||
<tr class="separator:af0cc492037e002ba5145e2e770ed0e66"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d57/patience__sort_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -442,7 +442,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d57/patience__sort_8c.html">patience_sort.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: GraphRep Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -105,18 +105,18 @@ $(document).ready(function(){initNavTree('d2/d6a/struct_graph_rep.html','../../'
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:aeb803dced884357ef0c7ea59525e382b"><td class="memItemLeft" align="right" valign="top"><a id="aeb803dced884357ef0c7ea59525e382b" name="aeb803dced884357ef0c7ea59525e382b"></a>
|
||||
<tr class="memitem:aeb803dced884357ef0c7ea59525e382b" id="r_aeb803dced884357ef0c7ea59525e382b"><td class="memItemLeft" align="right" valign="top"><a id="aeb803dced884357ef0c7ea59525e382b" name="aeb803dced884357ef0c7ea59525e382b"></a>
|
||||
int ** </td><td class="memItemRight" valign="bottom"><b>edges</b></td></tr>
|
||||
<tr class="separator:aeb803dced884357ef0c7ea59525e382b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a081038f30741c196b7d84fe79b4732c9"><td class="memItemLeft" align="right" valign="top"><a id="a081038f30741c196b7d84fe79b4732c9" name="a081038f30741c196b7d84fe79b4732c9"></a>
|
||||
<tr class="memitem:a081038f30741c196b7d84fe79b4732c9" id="r_a081038f30741c196b7d84fe79b4732c9"><td class="memItemLeft" align="right" valign="top"><a id="a081038f30741c196b7d84fe79b4732c9" name="a081038f30741c196b7d84fe79b4732c9"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>nV</b></td></tr>
|
||||
<tr class="separator:a081038f30741c196b7d84fe79b4732c9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaf306e1727ca6c84cc03635ef4ac4888"><td class="memItemLeft" align="right" valign="top"><a id="aaf306e1727ca6c84cc03635ef4ac4888" name="aaf306e1727ca6c84cc03635ef4ac4888"></a>
|
||||
<tr class="memitem:aaf306e1727ca6c84cc03635ef4ac4888" id="r_aaf306e1727ca6c84cc03635ef4ac4888"><td class="memItemLeft" align="right" valign="top"><a id="aaf306e1727ca6c84cc03635ef4ac4888" name="aaf306e1727ca6c84cc03635ef4ac4888"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>nE</b></td></tr>
|
||||
<tr class="separator:aaf306e1727ca6c84cc03635ef4ac4888"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>data_structures/graphs/graph.c</li>
|
||||
<li>data_structures/graphs/<b>graph.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -124,7 +124,7 @@ int </td><td class="memItemRight" valign="bottom"><b>nE</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d2/d6a/struct_graph_rep.html">GraphRep</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: sorting/bubble_sort_2.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -117,19 +117,19 @@ Include dependency graph for bubble_sort_2.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a392fb874e547e582e9c66a08a1f23326"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html#a392fb874e547e582e9c66a08a1f23326">MAX</a>   20</td></tr>
|
||||
<tr class="memitem:a392fb874e547e582e9c66a08a1f23326" id="r_a392fb874e547e582e9c66a08a1f23326"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html#a392fb874e547e582e9c66a08a1f23326">MAX</a>   20</td></tr>
|
||||
<tr class="memdesc:a392fb874e547e582e9c66a08a1f23326"><td class="mdescLeft"> </td><td class="mdescRight">for rand() calls for assert(<expr>) <br /></td></tr>
|
||||
<tr class="separator:a392fb874e547e582e9c66a08a1f23326"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a7406723363363b34f29d18f5a80f1281"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html#a7406723363363b34f29d18f5a80f1281">bubble_sort</a> (int *array_sort)</td></tr>
|
||||
<tr class="memitem:a7406723363363b34f29d18f5a80f1281" id="r_a7406723363363b34f29d18f5a80f1281"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html#a7406723363363b34f29d18f5a80f1281">bubble_sort</a> (int *array_sort)</td></tr>
|
||||
<tr class="memdesc:a7406723363363b34f29d18f5a80f1281"><td class="mdescLeft"> </td><td class="mdescRight">Bubble sort implementation. <br /></td></tr>
|
||||
<tr class="separator:a7406723363363b34f29d18f5a80f1281"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -307,7 +307,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d6d/bubble__sort__2_8c.html">bubble_sort_2.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: AVLnode Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,21 +110,21 @@ Collaboration diagram for AVLnode:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:ab3391d72c5ace9f85889430ce18383ef"><td class="memItemLeft" align="right" valign="top"><a id="ab3391d72c5ace9f85889430ce18383ef" name="ab3391d72c5ace9f85889430ce18383ef"></a>
|
||||
<tr class="memitem:ab3391d72c5ace9f85889430ce18383ef" id="r_ab3391d72c5ace9f85889430ce18383ef"><td class="memItemLeft" align="right" valign="top"><a id="ab3391d72c5ace9f85889430ce18383ef" name="ab3391d72c5ace9f85889430ce18383ef"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>key</b></td></tr>
|
||||
<tr class="separator:ab3391d72c5ace9f85889430ce18383ef"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a91349e8b477c6e9d45187997ca2e2a50"><td class="memItemLeft" align="right" valign="top"><a id="a91349e8b477c6e9d45187997ca2e2a50" name="a91349e8b477c6e9d45187997ca2e2a50"></a>
|
||||
<tr class="memitem:a91349e8b477c6e9d45187997ca2e2a50" id="r_a91349e8b477c6e9d45187997ca2e2a50"><td class="memItemLeft" align="right" valign="top"><a id="a91349e8b477c6e9d45187997ca2e2a50" name="a91349e8b477c6e9d45187997ca2e2a50"></a>
|
||||
struct <a class="el" href="../../d2/d71/struct_a_v_lnode.html">AVLnode</a> * </td><td class="memItemRight" valign="bottom"><b>left</b></td></tr>
|
||||
<tr class="separator:a91349e8b477c6e9d45187997ca2e2a50"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaf07c08df1ee92ae2512869a178a14d9"><td class="memItemLeft" align="right" valign="top"><a id="aaf07c08df1ee92ae2512869a178a14d9" name="aaf07c08df1ee92ae2512869a178a14d9"></a>
|
||||
<tr class="memitem:aaf07c08df1ee92ae2512869a178a14d9" id="r_aaf07c08df1ee92ae2512869a178a14d9"><td class="memItemLeft" align="right" valign="top"><a id="aaf07c08df1ee92ae2512869a178a14d9" name="aaf07c08df1ee92ae2512869a178a14d9"></a>
|
||||
struct <a class="el" href="../../d2/d71/struct_a_v_lnode.html">AVLnode</a> * </td><td class="memItemRight" valign="bottom"><b>right</b></td></tr>
|
||||
<tr class="separator:aaf07c08df1ee92ae2512869a178a14d9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af7b887a7fffb15778d53e167a95e40d9"><td class="memItemLeft" align="right" valign="top"><a id="af7b887a7fffb15778d53e167a95e40d9" name="af7b887a7fffb15778d53e167a95e40d9"></a>
|
||||
<tr class="memitem:af7b887a7fffb15778d53e167a95e40d9" id="r_af7b887a7fffb15778d53e167a95e40d9"><td class="memItemLeft" align="right" valign="top"><a id="af7b887a7fffb15778d53e167a95e40d9" name="af7b887a7fffb15778d53e167a95e40d9"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>height</b></td></tr>
|
||||
<tr class="separator:af7b887a7fffb15778d53e167a95e40d9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>data_structures/binary_trees/avl_tree.c</li>
|
||||
<li>data_structures/binary_trees/<b>avl_tree.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -132,7 +132,7 @@ int </td><td class="memItemRight" valign="bottom"><b>height</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d2/d71/struct_a_v_lnode.html">AVLnode</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: sorting/merge_sort.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -115,16 +115,16 @@ Include dependency graph for merge_sort.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ga4b9708d87be7a409eff20e5e7e8b43c8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga4b9708d87be7a409eff20e5e7e8b43c8">swap</a> (int *a, int *b)</td></tr>
|
||||
<tr class="memitem:ga4b9708d87be7a409eff20e5e7e8b43c8" id="r_ga4b9708d87be7a409eff20e5e7e8b43c8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga4b9708d87be7a409eff20e5e7e8b43c8">swap</a> (int *a, int *b)</td></tr>
|
||||
<tr class="memdesc:ga4b9708d87be7a409eff20e5e7e8b43c8"><td class="mdescLeft"> </td><td class="mdescRight">Swap two integer variables. <br /></td></tr>
|
||||
<tr class="separator:ga4b9708d87be7a409eff20e5e7e8b43c8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga8dc3ec66cb3350313fdb34bfd1674729"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga8dc3ec66cb3350313fdb34bfd1674729">merge</a> (int *a, int l, int r, int n)</td></tr>
|
||||
<tr class="memitem:ga8dc3ec66cb3350313fdb34bfd1674729" id="r_ga8dc3ec66cb3350313fdb34bfd1674729"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga8dc3ec66cb3350313fdb34bfd1674729">merge</a> (int *a, int l, int r, int n)</td></tr>
|
||||
<tr class="memdesc:ga8dc3ec66cb3350313fdb34bfd1674729"><td class="mdescLeft"> </td><td class="mdescRight">Perform merge of segments. <br /></td></tr>
|
||||
<tr class="separator:ga8dc3ec66cb3350313fdb34bfd1674729"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab99b8a397bdd0bf2903d66c22ba4ba43"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gab99b8a397bdd0bf2903d66c22ba4ba43">merge_sort</a> (int *a, int n, int l, int r)</td></tr>
|
||||
<tr class="memitem:gab99b8a397bdd0bf2903d66c22ba4ba43" id="r_gab99b8a397bdd0bf2903d66c22ba4ba43"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gab99b8a397bdd0bf2903d66c22ba4ba43">merge_sort</a> (int *a, int n, int l, int r)</td></tr>
|
||||
<tr class="memdesc:gab99b8a397bdd0bf2903d66c22ba4ba43"><td class="mdescLeft"> </td><td class="mdescRight">Merge sort algorithm implementation. <br /></td></tr>
|
||||
<tr class="separator:gab99b8a397bdd0bf2903d66c22ba4ba43"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d83/merge__sort_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe" id="r_a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d83/merge__sort_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -198,7 +198,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d83/merge__sort_8c.html">merge_sort.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: process_scheduling_algorithms/non_preemptive_priority_scheduling.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -125,42 +125,42 @@ Data Structures</h2></td></tr>
|
|||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:af4aeda155dbe167f1c1cf38cb65bf324"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="../../d5/da1/structnode.html">node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#af4aeda155dbe167f1c1cf38cb65bf324">node</a></td></tr>
|
||||
<tr class="memitem:af4aeda155dbe167f1c1cf38cb65bf324" id="r_af4aeda155dbe167f1c1cf38cb65bf324"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="../../d5/da1/structnode.html">node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#af4aeda155dbe167f1c1cf38cb65bf324">node</a></td></tr>
|
||||
<tr class="memdesc:af4aeda155dbe167f1c1cf38cb65bf324"><td class="mdescLeft"> </td><td class="mdescRight">for assert <br /></td></tr>
|
||||
<tr class="separator:af4aeda155dbe167f1c1cf38cb65bf324"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a5d0943b2e0e1b48b9c3a575a7f262c36"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a5d0943b2e0e1b48b9c3a575a7f262c36">insert</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root, int id, int at, int bt, int prior)</td></tr>
|
||||
<tr class="memitem:a5d0943b2e0e1b48b9c3a575a7f262c36" id="r_a5d0943b2e0e1b48b9c3a575a7f262c36"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a5d0943b2e0e1b48b9c3a575a7f262c36">insert</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root, int id, int at, int bt, int prior)</td></tr>
|
||||
<tr class="memdesc:a5d0943b2e0e1b48b9c3a575a7f262c36"><td class="mdescLeft"> </td><td class="mdescRight">To insert a new process in the queue. <br /></td></tr>
|
||||
<tr class="separator:a5d0943b2e0e1b48b9c3a575a7f262c36"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae485a5f4c1bc45447d201e2a309b3397"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#ae485a5f4c1bc45447d201e2a309b3397">delete</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root, int id)</td></tr>
|
||||
<tr class="memitem:ae485a5f4c1bc45447d201e2a309b3397" id="r_ae485a5f4c1bc45447d201e2a309b3397"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#ae485a5f4c1bc45447d201e2a309b3397">delete</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root, int id)</td></tr>
|
||||
<tr class="separator:ae485a5f4c1bc45447d201e2a309b3397"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adeb04e9743495f14aa4ef78631b9253c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#adeb04e9743495f14aa4ef78631b9253c">show_list</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> *head)</td></tr>
|
||||
<tr class="memitem:adeb04e9743495f14aa4ef78631b9253c" id="r_adeb04e9743495f14aa4ef78631b9253c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#adeb04e9743495f14aa4ef78631b9253c">show_list</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> *head)</td></tr>
|
||||
<tr class="memdesc:adeb04e9743495f14aa4ef78631b9253c"><td class="mdescLeft"> </td><td class="mdescRight">To show the process queue. <br /></td></tr>
|
||||
<tr class="separator:adeb04e9743495f14aa4ef78631b9253c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a40e454ce0750e794007bf41a7102b3a9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a40e454ce0750e794007bf41a7102b3a9">l_length</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root)</td></tr>
|
||||
<tr class="memitem:a40e454ce0750e794007bf41a7102b3a9" id="r_a40e454ce0750e794007bf41a7102b3a9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a40e454ce0750e794007bf41a7102b3a9">l_length</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root)</td></tr>
|
||||
<tr class="memdesc:a40e454ce0750e794007bf41a7102b3a9"><td class="mdescLeft"> </td><td class="mdescRight">To length process queue. <br /></td></tr>
|
||||
<tr class="separator:a40e454ce0750e794007bf41a7102b3a9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9bc34d3b138bd0153a942cf6a8b31533"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a9bc34d3b138bd0153a942cf6a8b31533">update</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root, int id, int ct, int wt, int tat)</td></tr>
|
||||
<tr class="memitem:a9bc34d3b138bd0153a942cf6a8b31533" id="r_a9bc34d3b138bd0153a942cf6a8b31533"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a9bc34d3b138bd0153a942cf6a8b31533">update</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root, int id, int ct, int wt, int tat)</td></tr>
|
||||
<tr class="memdesc:a9bc34d3b138bd0153a942cf6a8b31533"><td class="mdescLeft"> </td><td class="mdescRight">To update the completion time, turn around time and waiting time of the processes. <br /></td></tr>
|
||||
<tr class="separator:a9bc34d3b138bd0153a942cf6a8b31533"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a01b8ee561d8532a44d665c2c854e0d09"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a01b8ee561d8532a44d665c2c854e0d09">compare</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> *a, <a class="el" href="../../d5/da1/structnode.html">node</a> *b)</td></tr>
|
||||
<tr class="memitem:a01b8ee561d8532a44d665c2c854e0d09" id="r_a01b8ee561d8532a44d665c2c854e0d09"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a01b8ee561d8532a44d665c2c854e0d09">compare</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> *a, <a class="el" href="../../d5/da1/structnode.html">node</a> *b)</td></tr>
|
||||
<tr class="memdesc:a01b8ee561d8532a44d665c2c854e0d09"><td class="mdescLeft"> </td><td class="mdescRight">To compare the priority of two processes based on their arrival time and priority. <br /></td></tr>
|
||||
<tr class="separator:a01b8ee561d8532a44d665c2c854e0d09"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abbb2446313782dd3ba9ff2a7ad0ce1df"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#abbb2446313782dd3ba9ff2a7ad0ce1df">calculate_ct</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root)</td></tr>
|
||||
<tr class="memitem:abbb2446313782dd3ba9ff2a7ad0ce1df" id="r_abbb2446313782dd3ba9ff2a7ad0ce1df"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#abbb2446313782dd3ba9ff2a7ad0ce1df">calculate_ct</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root)</td></tr>
|
||||
<tr class="memdesc:abbb2446313782dd3ba9ff2a7ad0ce1df"><td class="mdescLeft"> </td><td class="mdescRight">To calculate the average completion time of all the processes. <br /></td></tr>
|
||||
<tr class="separator:abbb2446313782dd3ba9ff2a7ad0ce1df"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a458803d3c3926a6bcc4d51540f297756"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a458803d3c3926a6bcc4d51540f297756">calculate_tat</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root)</td></tr>
|
||||
<tr class="memitem:a458803d3c3926a6bcc4d51540f297756" id="r_a458803d3c3926a6bcc4d51540f297756"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#a458803d3c3926a6bcc4d51540f297756">calculate_tat</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root)</td></tr>
|
||||
<tr class="memdesc:a458803d3c3926a6bcc4d51540f297756"><td class="mdescLeft"> </td><td class="mdescRight">To calculate the average turn around time of all the processes. <br /></td></tr>
|
||||
<tr class="separator:a458803d3c3926a6bcc4d51540f297756"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae5e4de64ef6c5676d5013d90229a875c"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#ae5e4de64ef6c5676d5013d90229a875c">calculate_wt</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root)</td></tr>
|
||||
<tr class="memitem:ae5e4de64ef6c5676d5013d90229a875c" id="r_ae5e4de64ef6c5676d5013d90229a875c"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#ae5e4de64ef6c5676d5013d90229a875c">calculate_wt</a> (<a class="el" href="../../d5/da1/structnode.html">node</a> **root)</td></tr>
|
||||
<tr class="memdesc:ae5e4de64ef6c5676d5013d90229a875c"><td class="mdescLeft"> </td><td class="mdescRight">To calculate the average waiting time of all the processes. <br /></td></tr>
|
||||
<tr class="separator:ae5e4de64ef6c5676d5013d90229a875c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -857,7 +857,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_63185e90e67935ef3eb5903a044c89e2.html">process_scheduling_algorithms</a></li><li class="navelem"><a class="el" href="../../d2/d87/non__preemptive__priority__scheduling_8c.html">non_preemptive_priority_scheduling.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_8/sol2.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,7 +116,7 @@ Include dependency graph for sol2.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d93/problem__8_2sol2_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d93/problem__8_2sol2_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -270,7 +270,7 @@ Functions</h2></td></tr>
|
|||
<div class="line"><span class="lineno"> 128</span>}</div>
|
||||
<div class="ttc" id="amalloc__dbg_8h_html_a9cc854374299a1dd933bf62029761768"><div class="ttname"><a href="../../d2/ddd/malloc__dbg_8h.html#a9cc854374299a1dd933bf62029761768">free</a></div><div class="ttdeci">#define free(ptr)</div><div class="ttdoc">This macro replace the standard free function with free_dbg.</div><div class="ttdef"><b>Definition</b> malloc_dbg.h:26</div></div>
|
||||
<div class="ttc" id="amalloc__dbg_8h_html_afdddaa949a93c1ef559a638e98f9c21b"><div class="ttname"><a href="../../d2/ddd/malloc__dbg_8h.html#afdddaa949a93c1ef559a638e98f9c21b">calloc</a></div><div class="ttdeci">#define calloc(elemCount, elemSize)</div><div class="ttdoc">This macro replace the standard calloc function with calloc_dbg.</div><div class="ttdef"><b>Definition</b> malloc_dbg.h:22</div></div>
|
||||
<div class="ttc" id="astructbuffer_html"><div class="ttname"><a href="../../dd/da2/structbuffer.html">buffer</a></div><div class="ttdoc">struct used to store character in certain times</div><div class="ttdef"><b>Definition</b> min_printf.h:31</div></div>
|
||||
<div class="ttc" id="astructbuffer_html"><div class="ttname"><a href="../../dd/da2/structbuffer.html">buffer</a></div><div class="ttdoc">struct used to store character in certain times</div><div class="ttdef"><b>Definition</b> min_printf.h:35</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
|
@ -280,7 +280,7 @@ Functions</h2></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_4a15c8553efb9e59e3f1091cc0d3a27d.html">problem_8</a></li><li class="navelem"><a class="el" href="../../d2/d93/problem__8_2sol2_8c.html">sol2.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: searching/floyd_cycle_detection_algorithm.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,13 +116,13 @@ Include dependency graph for floyd_cycle_detection_algorithm.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ac7af29ae53c6659f2881fb080b080f9d"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d9b/floyd__cycle__detection__algorithm_8c.html#ac7af29ae53c6659f2881fb080b080f9d">duplicateNumber</a> (const uint32_t *in_arr, size_t n)</td></tr>
|
||||
<tr class="memitem:ac7af29ae53c6659f2881fb080b080f9d" id="r_ac7af29ae53c6659f2881fb080b080f9d"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d9b/floyd__cycle__detection__algorithm_8c.html#ac7af29ae53c6659f2881fb080b080f9d">duplicateNumber</a> (const uint32_t *in_arr, size_t n)</td></tr>
|
||||
<tr class="memdesc:ac7af29ae53c6659f2881fb080b080f9d"><td class="mdescLeft"> </td><td class="mdescRight">for assert <br /></td></tr>
|
||||
<tr class="separator:ac7af29ae53c6659f2881fb080b080f9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d9b/floyd__cycle__detection__algorithm_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d9b/floyd__cycle__detection__algorithm_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d9b/floyd__cycle__detection__algorithm_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d9b/floyd__cycle__detection__algorithm_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -276,7 +276,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_da574daf9ce9c05b45556bdc871ed1e3.html">searching</a></li><li class="navelem"><a class="el" href="../../d2/d9b/floyd__cycle__detection__algorithm_8c.html">floyd_cycle_detection_algorithm.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: sorting/bead_sort.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,20 +116,20 @@ Include dependency graph for bead_sort.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ga4fdb8af29a07ac8f496e49a11bf9f1bd"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:ga4fdb8af29a07ac8f496e49a11bf9f1bd" id="r_ga4fdb8af29a07ac8f496e49a11bf9f1bd"><td class="memItemLeft" align="right" valign="top">
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>BEAD</b>(i, j)   beads[i * max + j]</td></tr>
|
||||
<tr class="memdesc:ga4fdb8af29a07ac8f496e49a11bf9f1bd"><td class="mdescLeft"> </td><td class="mdescRight">Create easy access of elements from a 2D matrix stored in memory as a 1D array. <br /></td></tr>
|
||||
<tr class="separator:ga4fdb8af29a07ac8f496e49a11bf9f1bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:gad7ed8cc4603f500d610054680d28b971"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gad7ed8cc4603f500d610054680d28b971">display</a> (const int *arr, int n)</td></tr>
|
||||
<tr class="memitem:gad7ed8cc4603f500d610054680d28b971" id="r_gad7ed8cc4603f500d610054680d28b971"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gad7ed8cc4603f500d610054680d28b971">display</a> (const int *arr, int n)</td></tr>
|
||||
<tr class="memdesc:gad7ed8cc4603f500d610054680d28b971"><td class="mdescLeft"> </td><td class="mdescRight">Displays the array, passed to this method. <br /></td></tr>
|
||||
<tr class="separator:gad7ed8cc4603f500d610054680d28b971"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga2fb01e00dedb437a42010f6309e7eba8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga2fb01e00dedb437a42010f6309e7eba8">bead_sort</a> (int *a, size_t len)</td></tr>
|
||||
<tr class="memitem:ga2fb01e00dedb437a42010f6309e7eba8" id="r_ga2fb01e00dedb437a42010f6309e7eba8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga2fb01e00dedb437a42010f6309e7eba8">bead_sort</a> (int *a, size_t len)</td></tr>
|
||||
<tr class="memdesc:ga2fb01e00dedb437a42010f6309e7eba8"><td class="mdescLeft"> </td><td class="mdescRight">This is where the sorting of the array takes place. <br /></td></tr>
|
||||
<tr class="separator:ga2fb01e00dedb437a42010f6309e7eba8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac0f2228420376f4db7e1274f2b41667c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da8/bead__sort_8c.html#ac0f2228420376f4db7e1274f2b41667c">main</a> (int argc, const char *argv[])</td></tr>
|
||||
<tr class="memitem:ac0f2228420376f4db7e1274f2b41667c" id="r_ac0f2228420376f4db7e1274f2b41667c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da8/bead__sort_8c.html#ac0f2228420376f4db7e1274f2b41667c">main</a> (int argc, const char *argv[])</td></tr>
|
||||
<tr class="memdesc:ac0f2228420376f4db7e1274f2b41667c"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ac0f2228420376f4db7e1274f2b41667c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -204,7 +204,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/da8/bead__sort_8c.html">bead_sort.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: adaline Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,15 +108,15 @@ $(document).ready(function(){initNavTree('d2/daa/structadaline.html','../../');
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a85dbd7cce6195d11ebb388220b96bde2"><td class="memItemLeft" align="right" valign="top"><a id="a85dbd7cce6195d11ebb388220b96bde2" name="a85dbd7cce6195d11ebb388220b96bde2"></a>
|
||||
<tr class="memitem:a85dbd7cce6195d11ebb388220b96bde2" id="r_a85dbd7cce6195d11ebb388220b96bde2"><td class="memItemLeft" align="right" valign="top"><a id="a85dbd7cce6195d11ebb388220b96bde2" name="a85dbd7cce6195d11ebb388220b96bde2"></a>
|
||||
double </td><td class="memItemRight" valign="bottom"><b>eta</b></td></tr>
|
||||
<tr class="memdesc:a85dbd7cce6195d11ebb388220b96bde2"><td class="mdescLeft"> </td><td class="mdescRight">learning rate of the algorithm <br /></td></tr>
|
||||
<tr class="separator:a85dbd7cce6195d11ebb388220b96bde2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a32e58c03fd9258709eae6138ad0ec657"><td class="memItemLeft" align="right" valign="top"><a id="a32e58c03fd9258709eae6138ad0ec657" name="a32e58c03fd9258709eae6138ad0ec657"></a>
|
||||
<tr class="memitem:a32e58c03fd9258709eae6138ad0ec657" id="r_a32e58c03fd9258709eae6138ad0ec657"><td class="memItemLeft" align="right" valign="top"><a id="a32e58c03fd9258709eae6138ad0ec657" name="a32e58c03fd9258709eae6138ad0ec657"></a>
|
||||
double * </td><td class="memItemRight" valign="bottom"><b>weights</b></td></tr>
|
||||
<tr class="memdesc:a32e58c03fd9258709eae6138ad0ec657"><td class="mdescLeft"> </td><td class="mdescRight">weights of the neural network <br /></td></tr>
|
||||
<tr class="separator:a32e58c03fd9258709eae6138ad0ec657"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a53314e737a0a5ff4552a03bcc9dafbc1"><td class="memItemLeft" align="right" valign="top"><a id="a53314e737a0a5ff4552a03bcc9dafbc1" name="a53314e737a0a5ff4552a03bcc9dafbc1"></a>
|
||||
<tr class="memitem:a53314e737a0a5ff4552a03bcc9dafbc1" id="r_a53314e737a0a5ff4552a03bcc9dafbc1"><td class="memItemLeft" align="right" valign="top"><a id="a53314e737a0a5ff4552a03bcc9dafbc1" name="a53314e737a0a5ff4552a03bcc9dafbc1"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>num_weights</b></td></tr>
|
||||
<tr class="memdesc:a53314e737a0a5ff4552a03bcc9dafbc1"><td class="mdescLeft"> </td><td class="mdescRight">number of weights of the neural network <br /></td></tr>
|
||||
<tr class="separator:a53314e737a0a5ff4552a03bcc9dafbc1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -132,7 +132,7 @@ int </td><td class="memItemRight" valign="bottom"><b>num_weights</b></td></
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d2/daa/structadaline.html">adaline</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_1/sol2.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -114,7 +114,7 @@ Include dependency graph for sol2.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dae/problem__1_2sol2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dae/problem__1_2sol2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -163,7 +163,7 @@ Functions</h2></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_8c6743d405e8ed13cc39f42e382307fd.html">problem_1</a></li><li class="navelem"><a class="el" href="../../d2/dae/problem__1_2sol2_8c.html">sol2.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_3/sol2.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -114,7 +114,7 @@ Include dependency graph for sol2.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dbc/problem__3_2sol2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dbc/problem__3_2sol2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -174,7 +174,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_b2dbfa46230fd9f775c32c1836ed3764.html">problem_3</a></li><li class="navelem"><a class="el" href="../../d2/dbc/problem__3_2sol2_8c.html">sol2.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: data_structures/array/carray.h Source File</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -58,6 +58,11 @@ $(function() {
|
|||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
|
@ -130,11 +135,13 @@ $(document).ready(function(){initNavTree('d2/dc3/carray_8h_source.html','../../'
|
|||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#define POSITION_EMPTY 4</span></div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#define ARRAY_FULL 5</span></div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
|
||||
<div class="foldopen" id="foldopen00031" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="../../d4/d2d/struct_c_array.html"> 31</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d4/d2d/struct_c_array.html">CArray</a></div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> {</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keywordtype">int</span> *array;</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keywordtype">int</span> size;</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> } <a class="code hl_struct" href="../../d4/d2d/struct_c_array.html">CArray</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// +-------------------------------------+</span></div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// | Returns array |</span></div>
|
||||
|
@ -192,7 +199,7 @@ $(document).ready(function(){initNavTree('d2/dc3/carray_8h_source.html','../../'
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_2e746e9d06bf2d8ff842208bcc6ebcfc.html">data_structures</a></li><li class="navelem"><a class="el" href="../../dir_c7ef0fcb2f2095a74f0a3a1634dfc798.html">array</a></li><li class="navelem"><b>carray.h</b></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: developer_tools/malloc_dbg.h File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,31 +116,31 @@ This graph shows which files directly or indirectly include this file:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a725f50ecaf1959d96de79b36b4788fee"><td class="memItemLeft" align="right" valign="top"><a id="a725f50ecaf1959d96de79b36b4788fee" name="a725f50ecaf1959d96de79b36b4788fee"></a>
|
||||
<tr class="memitem:a725f50ecaf1959d96de79b36b4788fee" id="r_a725f50ecaf1959d96de79b36b4788fee"><td class="memItemLeft" align="right" valign="top"><a id="a725f50ecaf1959d96de79b36b4788fee" name="a725f50ecaf1959d96de79b36b4788fee"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>malloc</b>(bytes)   <a class="el" href="../../db/d84/malloc__dbg_8c.html#a37914d05ba1fe8848aa1b48cda719422">malloc_dbg</a>(bytes, __LINE__, __FILE__, __FUNCTION__)</td></tr>
|
||||
<tr class="memdesc:a725f50ecaf1959d96de79b36b4788fee"><td class="mdescLeft"> </td><td class="mdescRight">This macro replace the standard malloc function with malloc_dbg. <br /></td></tr>
|
||||
<tr class="separator:a725f50ecaf1959d96de79b36b4788fee"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afdddaa949a93c1ef559a638e98f9c21b"><td class="memItemLeft" align="right" valign="top"><a id="afdddaa949a93c1ef559a638e98f9c21b" name="afdddaa949a93c1ef559a638e98f9c21b"></a>
|
||||
<tr class="memitem:afdddaa949a93c1ef559a638e98f9c21b" id="r_afdddaa949a93c1ef559a638e98f9c21b"><td class="memItemLeft" align="right" valign="top"><a id="afdddaa949a93c1ef559a638e98f9c21b" name="afdddaa949a93c1ef559a638e98f9c21b"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>calloc</b>(elemCount, elemSize)   <a class="el" href="../../db/d84/malloc__dbg_8c.html#ab07f946b77155ca78d0e14e231a99f5d">calloc_dbg</a>(elemCount, elemSize, __LINE__, __FILE__, __FUNCTION__)</td></tr>
|
||||
<tr class="memdesc:afdddaa949a93c1ef559a638e98f9c21b"><td class="mdescLeft"> </td><td class="mdescRight">This macro replace the standard calloc function with calloc_dbg. <br /></td></tr>
|
||||
<tr class="separator:afdddaa949a93c1ef559a638e98f9c21b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9cc854374299a1dd933bf62029761768"><td class="memItemLeft" align="right" valign="top"><a id="a9cc854374299a1dd933bf62029761768" name="a9cc854374299a1dd933bf62029761768"></a>
|
||||
<tr class="memitem:a9cc854374299a1dd933bf62029761768" id="r_a9cc854374299a1dd933bf62029761768"><td class="memItemLeft" align="right" valign="top"><a id="a9cc854374299a1dd933bf62029761768" name="a9cc854374299a1dd933bf62029761768"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>free</b>(ptr)   <a class="el" href="../../db/d84/malloc__dbg_8c.html#a3f9195a04ac8e8a9868ee3e416db7e8c">free_dbg</a>(ptr)</td></tr>
|
||||
<tr class="memdesc:a9cc854374299a1dd933bf62029761768"><td class="mdescLeft"> </td><td class="mdescRight">This macro replace the standard free function with free_dbg. <br /></td></tr>
|
||||
<tr class="separator:a9cc854374299a1dd933bf62029761768"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a37914d05ba1fe8848aa1b48cda719422"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html#a37914d05ba1fe8848aa1b48cda719422">malloc_dbg</a> (size_t bytes, int line, const char *filename, const char *functionName)</td></tr>
|
||||
<tr class="memitem:a37914d05ba1fe8848aa1b48cda719422" id="r_a37914d05ba1fe8848aa1b48cda719422"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html#a37914d05ba1fe8848aa1b48cda719422">malloc_dbg</a> (size_t bytes, int line, const char *filename, const char *functionName)</td></tr>
|
||||
<tr class="memdesc:a37914d05ba1fe8848aa1b48cda719422"><td class="mdescLeft"> </td><td class="mdescRight">malloc_dbg function is a wrapper around the malloc function. <br /></td></tr>
|
||||
<tr class="separator:a37914d05ba1fe8848aa1b48cda719422"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab07f946b77155ca78d0e14e231a99f5d"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html#ab07f946b77155ca78d0e14e231a99f5d">calloc_dbg</a> (size_t elementCount, size_t elementSize, int line, const char *filename, const char *functionName)</td></tr>
|
||||
<tr class="memitem:ab07f946b77155ca78d0e14e231a99f5d" id="r_ab07f946b77155ca78d0e14e231a99f5d"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html#ab07f946b77155ca78d0e14e231a99f5d">calloc_dbg</a> (size_t elementCount, size_t elementSize, int line, const char *filename, const char *functionName)</td></tr>
|
||||
<tr class="memdesc:ab07f946b77155ca78d0e14e231a99f5d"><td class="mdescLeft"> </td><td class="mdescRight">calloc_dbg function is a wrapper around the calloc function. <br /></td></tr>
|
||||
<tr class="separator:ab07f946b77155ca78d0e14e231a99f5d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3f9195a04ac8e8a9868ee3e416db7e8c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html#a3f9195a04ac8e8a9868ee3e416db7e8c">free_dbg</a> (void *ptrToFree)</td></tr>
|
||||
<tr class="memitem:a3f9195a04ac8e8a9868ee3e416db7e8c" id="r_a3f9195a04ac8e8a9868ee3e416db7e8c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html#a3f9195a04ac8e8a9868ee3e416db7e8c">free_dbg</a> (void *ptrToFree)</td></tr>
|
||||
<tr class="memdesc:a3f9195a04ac8e8a9868ee3e416db7e8c"><td class="mdescLeft"> </td><td class="mdescRight">free_dbg function is used to free the memory allocated to a pointer. <br /></td></tr>
|
||||
<tr class="separator:a3f9195a04ac8e8a9868ee3e416db7e8c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abfd0a4452069af4cfefe4a5d037e92ef"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html#abfd0a4452069af4cfefe4a5d037e92ef">printLeaks</a> (void)</td></tr>
|
||||
<tr class="memitem:abfd0a4452069af4cfefe4a5d037e92ef" id="r_abfd0a4452069af4cfefe4a5d037e92ef"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html#abfd0a4452069af4cfefe4a5d037e92ef">printLeaks</a> (void)</td></tr>
|
||||
<tr class="memdesc:abfd0a4452069af4cfefe4a5d037e92ef"><td class="mdescLeft"> </td><td class="mdescRight">printLeaks function is used to print all the memory leaks. <br /></td></tr>
|
||||
<tr class="separator:abfd0a4452069af4cfefe4a5d037e92ef"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -466,7 +466,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_abf1a26ece768c4076e73592705ae077.html">developer_tools</a></li><li class="navelem"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html">malloc_dbg.h</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: developer_tools/malloc_dbg.h Source File</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -58,6 +58,11 @@ $(function() {
|
|||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
|
@ -146,7 +151,7 @@ $(document).ready(function(){initNavTree('d2/ddd/malloc__dbg_8h_source.html','..
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_abf1a26ece768c4076e73592705ae077.html">developer_tools</a></li><li class="navelem"><a class="el" href="../../d2/ddd/malloc__dbg_8h.html">malloc_dbg.h</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: euler_ Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,44 +110,44 @@ $(document).ready(function(){initNavTree('d2/de8/structeuler__.html','../../');
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:ac26c178ed5737d239fda2d0e5216b12c"><td class="memItemLeft" ><a id="ac26c178ed5737d239fda2d0e5216b12c" name="ac26c178ed5737d239fda2d0e5216b12c"></a>
|
||||
<tr class="memitem:ac26c178ed5737d239fda2d0e5216b12c" id="r_ac26c178ed5737d239fda2d0e5216b12c"><td class="memItemLeft" ><a id="ac26c178ed5737d239fda2d0e5216b12c" name="ac26c178ed5737d239fda2d0e5216b12c"></a>
|
||||
union { </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7fca1e32d9cf0b5f62b7c523ff387509"><td class="memItemLeft" >
|
||||
<tr class="memitem:a7fca1e32d9cf0b5f62b7c523ff387509" id="r_a7fca1e32d9cf0b5f62b7c523ff387509"><td class="memItemLeft" >
|
||||
   float   <b>roll</b> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memdesc:a7fca1e32d9cf0b5f62b7c523ff387509"><td class="mdescLeft"> </td><td class="mdescRight">or bank \(\phi\) = rotation about X axis <br /></td></tr>
|
||||
<tr class="separator:a7fca1e32d9cf0b5f62b7c523ff387509"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0b47d86b928af2595e7339b69e939f4c"><td class="memItemLeft" >
|
||||
<tr class="memitem:a0b47d86b928af2595e7339b69e939f4c" id="r_a0b47d86b928af2595e7339b69e939f4c"><td class="memItemLeft" >
|
||||
   float   <b>bank</b> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memdesc:a0b47d86b928af2595e7339b69e939f4c"><td class="mdescLeft"> </td><td class="mdescRight">or roll \(\phi\) = rotation about X axis <br /></td></tr>
|
||||
<tr class="separator:a0b47d86b928af2595e7339b69e939f4c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac26c178ed5737d239fda2d0e5216b12c"><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memitem:ac26c178ed5737d239fda2d0e5216b12c" id="r_ac26c178ed5737d239fda2d0e5216b12c"><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="separator:ac26c178ed5737d239fda2d0e5216b12c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa26a0125b12dbaf67dd9d13bc61351ab"><td class="memItemLeft" ><a id="aa26a0125b12dbaf67dd9d13bc61351ab" name="aa26a0125b12dbaf67dd9d13bc61351ab"></a>
|
||||
<tr class="memitem:aa26a0125b12dbaf67dd9d13bc61351ab" id="r_aa26a0125b12dbaf67dd9d13bc61351ab"><td class="memItemLeft" ><a id="aa26a0125b12dbaf67dd9d13bc61351ab" name="aa26a0125b12dbaf67dd9d13bc61351ab"></a>
|
||||
union { </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af778ba77db744831ee7f0128df913ea9"><td class="memItemLeft" >
|
||||
<tr class="memitem:af778ba77db744831ee7f0128df913ea9" id="r_af778ba77db744831ee7f0128df913ea9"><td class="memItemLeft" >
|
||||
   float   <b>pitch</b> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memdesc:af778ba77db744831ee7f0128df913ea9"><td class="mdescLeft"> </td><td class="mdescRight">or elevation \(\theta\) = rotation about Y axis <br /></td></tr>
|
||||
<tr class="separator:af778ba77db744831ee7f0128df913ea9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6c99e5997af549f800551132f7155c6a"><td class="memItemLeft" >
|
||||
<tr class="memitem:a6c99e5997af549f800551132f7155c6a" id="r_a6c99e5997af549f800551132f7155c6a"><td class="memItemLeft" >
|
||||
   float   <b>elevation</b> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memdesc:a6c99e5997af549f800551132f7155c6a"><td class="mdescLeft"> </td><td class="mdescRight">or pitch \(\theta\) = rotation about Y axis <br /></td></tr>
|
||||
<tr class="separator:a6c99e5997af549f800551132f7155c6a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa26a0125b12dbaf67dd9d13bc61351ab"><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memitem:aa26a0125b12dbaf67dd9d13bc61351ab" id="r_aa26a0125b12dbaf67dd9d13bc61351ab"><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="separator:aa26a0125b12dbaf67dd9d13bc61351ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a119e45cb1363bf70f61ef525e2d562fc"><td class="memItemLeft" ><a id="a119e45cb1363bf70f61ef525e2d562fc" name="a119e45cb1363bf70f61ef525e2d562fc"></a>
|
||||
<tr class="memitem:a119e45cb1363bf70f61ef525e2d562fc" id="r_a119e45cb1363bf70f61ef525e2d562fc"><td class="memItemLeft" ><a id="a119e45cb1363bf70f61ef525e2d562fc" name="a119e45cb1363bf70f61ef525e2d562fc"></a>
|
||||
union { </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a94b59971580d6f0fb32d4ec8c61567a7"><td class="memItemLeft" >
|
||||
<tr class="memitem:a94b59971580d6f0fb32d4ec8c61567a7" id="r_a94b59971580d6f0fb32d4ec8c61567a7"><td class="memItemLeft" >
|
||||
   float   <b>yaw</b> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memdesc:a94b59971580d6f0fb32d4ec8c61567a7"><td class="mdescLeft"> </td><td class="mdescRight">or heading \(\psi\) = rotation about Z axis <br /></td></tr>
|
||||
<tr class="separator:a94b59971580d6f0fb32d4ec8c61567a7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a80f157fd725937a6b5fbd22d3a0dfa7c"><td class="memItemLeft" >
|
||||
<tr class="memitem:a80f157fd725937a6b5fbd22d3a0dfa7c" id="r_a80f157fd725937a6b5fbd22d3a0dfa7c"><td class="memItemLeft" >
|
||||
   float   <b>heading</b> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memdesc:a80f157fd725937a6b5fbd22d3a0dfa7c"><td class="mdescLeft"> </td><td class="mdescRight">or yaw \(\psi\) = rotation about Z axis <br /></td></tr>
|
||||
<tr class="separator:a80f157fd725937a6b5fbd22d3a0dfa7c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a119e45cb1363bf70f61ef525e2d562fc"><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="memitem:a119e45cb1363bf70f61ef525e2d562fc" id="r_a119e45cb1363bf70f61ef525e2d562fc"><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"> </td><td class="memItemRight" valign="bottom"></td></tr>
|
||||
<tr class="separator:a119e45cb1363bf70f61ef525e2d562fc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
|
@ -161,7 +161,7 @@ union { </td><td class="memItemRight" valign="bottom"></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d2/de8/structeuler__.html">euler_</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: machine_learning/kohonen_som_topology.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -125,64 +125,64 @@ Data Structures</h2></td></tr>
|
|||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a525335710b53cb064ca56b936120431e"><td class="memItemLeft" align="right" valign="top"><a id="a525335710b53cb064ca56b936120431e" name="a525335710b53cb064ca56b936120431e"></a>
|
||||
<tr class="memitem:a525335710b53cb064ca56b936120431e" id="r_a525335710b53cb064ca56b936120431e"><td class="memItemLeft" align="right" valign="top"><a id="a525335710b53cb064ca56b936120431e" name="a525335710b53cb064ca56b936120431e"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>_USE_MATH_DEFINES</b></td></tr>
|
||||
<tr class="memdesc:a525335710b53cb064ca56b936120431e"><td class="mdescLeft"> </td><td class="mdescRight">required for MS Visual C <br /></td></tr>
|
||||
<tr class="separator:a525335710b53cb064ca56b936120431e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaffe776513b24d84b39af8ab0930fef7f"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:gaffe776513b24d84b39af8ab0930fef7f" id="r_gaffe776513b24d84b39af8ab0930fef7f"><td class="memItemLeft" align="right" valign="top">
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>max</b>(a, b)   (((a) > (b)) ? (a) : (b))</td></tr>
|
||||
<tr class="memdesc:gaffe776513b24d84b39af8ab0930fef7f"><td class="mdescLeft"> </td><td class="mdescRight">shorthand for maximum value <br /></td></tr>
|
||||
<tr class="separator:gaffe776513b24d84b39af8ab0930fef7f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gac6afabdc09a49a433ee19d8a9486056d"><td class="memItemLeft" align="right" valign="top">
|
||||
<tr class="memitem:gac6afabdc09a49a433ee19d8a9486056d" id="r_gac6afabdc09a49a433ee19d8a9486056d"><td class="memItemLeft" align="right" valign="top">
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>min</b>(a, b)   (((a) < (b)) ? (a) : (b))</td></tr>
|
||||
<tr class="memdesc:gac6afabdc09a49a433ee19d8a9486056d"><td class="mdescLeft"> </td><td class="mdescRight">shorthand for minimum value <br /></td></tr>
|
||||
<tr class="separator:gac6afabdc09a49a433ee19d8a9486056d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:gac78022076d889bf2ebfb2c41d4527ceb"><td class="memItemLeft" align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gac78022076d889bf2ebfb2c41d4527ceb">kohonen_data_3d</a> (const struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *arr, int x, int y, int z)</td></tr>
|
||||
<tr class="memitem:gac78022076d889bf2ebfb2c41d4527ceb" id="r_gac78022076d889bf2ebfb2c41d4527ceb"><td class="memItemLeft" align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gac78022076d889bf2ebfb2c41d4527ceb">kohonen_data_3d</a> (const struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *arr, int x, int y, int z)</td></tr>
|
||||
<tr class="memdesc:gac78022076d889bf2ebfb2c41d4527ceb"><td class="mdescLeft"> </td><td class="mdescRight">Function that returns the pointer to (x, y, z) ^th location in the linear 3D array given by: <br /></td></tr>
|
||||
<tr class="separator:gac78022076d889bf2ebfb2c41d4527ceb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaf5ce14f026d6d231bef29161bac2b485"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a> (double a, double b)</td></tr>
|
||||
<tr class="memitem:gaf5ce14f026d6d231bef29161bac2b485" id="r_gaf5ce14f026d6d231bef29161bac2b485"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a> (double a, double b)</td></tr>
|
||||
<tr class="memdesc:gaf5ce14f026d6d231bef29161bac2b485"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to generate a random number in a given interval. <br /></td></tr>
|
||||
<tr class="separator:gaf5ce14f026d6d231bef29161bac2b485"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga6824dc6d973eb3339af7aef5fea78b0c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga6824dc6d973eb3339af7aef5fea78b0c">save_2d_data</a> (const char *fname, double **X, int num_points, int num_features)</td></tr>
|
||||
<tr class="memitem:ga6824dc6d973eb3339af7aef5fea78b0c" id="r_ga6824dc6d973eb3339af7aef5fea78b0c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga6824dc6d973eb3339af7aef5fea78b0c">save_2d_data</a> (const char *fname, double **X, int num_points, int num_features)</td></tr>
|
||||
<tr class="memdesc:ga6824dc6d973eb3339af7aef5fea78b0c"><td class="mdescLeft"> </td><td class="mdescRight">Save a given n-dimensional data martix to file. <br /></td></tr>
|
||||
<tr class="separator:ga6824dc6d973eb3339af7aef5fea78b0c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga49d35f68f5d11d8ef6f8cce0d0e7bcba"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga49d35f68f5d11d8ef6f8cce0d0e7bcba">save_u_matrix</a> (const char *fname, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W)</td></tr>
|
||||
<tr class="memitem:ga49d35f68f5d11d8ef6f8cce0d0e7bcba" id="r_ga49d35f68f5d11d8ef6f8cce0d0e7bcba"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga49d35f68f5d11d8ef6f8cce0d0e7bcba">save_u_matrix</a> (const char *fname, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W)</td></tr>
|
||||
<tr class="memdesc:ga49d35f68f5d11d8ef6f8cce0d0e7bcba"><td class="mdescLeft"> </td><td class="mdescRight">Create the distance matrix or <a href="https://en.wikipedia.org/wiki/U-matrix" target="_blank">U-matrix</a> from the trained weights and save to disk. <br /></td></tr>
|
||||
<tr class="separator:ga49d35f68f5d11d8ef6f8cce0d0e7bcba"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gadc22d512c00a9f5799ee067f4fb90b4b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gadc22d512c00a9f5799ee067f4fb90b4b">get_min_2d</a> (double **X, int N, double *val, int *x_idx, int *y_idx)</td></tr>
|
||||
<tr class="memitem:gadc22d512c00a9f5799ee067f4fb90b4b" id="r_gadc22d512c00a9f5799ee067f4fb90b4b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gadc22d512c00a9f5799ee067f4fb90b4b">get_min_2d</a> (double **X, int N, double *val, int *x_idx, int *y_idx)</td></tr>
|
||||
<tr class="memdesc:gadc22d512c00a9f5799ee067f4fb90b4b"><td class="mdescLeft"> </td><td class="mdescRight">Get minimum value and index of the value in a matrix. <br /></td></tr>
|
||||
<tr class="separator:gadc22d512c00a9f5799ee067f4fb90b4b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga83abb572c60d202e100595a989dfe123"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga83abb572c60d202e100595a989dfe123">kohonen_update_weights</a> (const double *X, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W, double **D, int num_out, int num_features, double alpha, int R)</td></tr>
|
||||
<tr class="memitem:ga83abb572c60d202e100595a989dfe123" id="r_ga83abb572c60d202e100595a989dfe123"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#ga83abb572c60d202e100595a989dfe123">kohonen_update_weights</a> (const double *X, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W, double **D, int num_out, int num_features, double alpha, int R)</td></tr>
|
||||
<tr class="memdesc:ga83abb572c60d202e100595a989dfe123"><td class="mdescLeft"> </td><td class="mdescRight">Update weights of the SOM using Kohonen algorithm. <br /></td></tr>
|
||||
<tr class="separator:ga83abb572c60d202e100595a989dfe123"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gacb42eda8af6ebd6a141a34ab00a0b710"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gacb42eda8af6ebd6a141a34ab00a0b710">kohonen_som</a> (double **X, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W, int num_samples, int num_features, int num_out, double alpha_min)</td></tr>
|
||||
<tr class="memitem:gacb42eda8af6ebd6a141a34ab00a0b710" id="r_gacb42eda8af6ebd6a141a34ab00a0b710"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d6b/group__kohonen__2d.html#gacb42eda8af6ebd6a141a34ab00a0b710">kohonen_som</a> (double **X, struct <a class="el" href="../../d8/db8/structkohonen__array__3d.html">kohonen_array_3d</a> *W, int num_samples, int num_features, int num_out, double alpha_min)</td></tr>
|
||||
<tr class="memdesc:gacb42eda8af6ebd6a141a34ab00a0b710"><td class="mdescLeft"> </td><td class="mdescRight">Apply incremental algorithm with updating neighborhood and learning rates on all samples in the given datset. <br /></td></tr>
|
||||
<tr class="separator:gacb42eda8af6ebd6a141a34ab00a0b710"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adb5ded007be1fd666fab9affe6764018"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#adb5ded007be1fd666fab9affe6764018">test_2d_classes</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memitem:adb5ded007be1fd666fab9affe6764018" id="r_adb5ded007be1fd666fab9affe6764018"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#adb5ded007be1fd666fab9affe6764018">test_2d_classes</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memdesc:adb5ded007be1fd666fab9affe6764018"><td class="mdescLeft"> </td><td class="mdescRight">Creates a random set of points distributed in four clusters in 3D space with centroids at the points. <br /></td></tr>
|
||||
<tr class="separator:adb5ded007be1fd666fab9affe6764018"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1440a7779ac56f47a3f355ce4a8c7da0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a> ()</td></tr>
|
||||
<tr class="memitem:a1440a7779ac56f47a3f355ce4a8c7da0" id="r_a1440a7779ac56f47a3f355ce4a8c7da0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a> ()</td></tr>
|
||||
<tr class="memdesc:a1440a7779ac56f47a3f355ce4a8c7da0"><td class="mdescLeft"> </td><td class="mdescRight">Test that creates a random set of points distributed in four clusters in 2D space and trains an SOM that finds the topological pattern. <br /></td></tr>
|
||||
<tr class="separator:a1440a7779ac56f47a3f355ce4a8c7da0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad9e25202bb8b481461f932668f249dbc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#ad9e25202bb8b481461f932668f249dbc">test_3d_classes1</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memitem:ad9e25202bb8b481461f932668f249dbc" id="r_ad9e25202bb8b481461f932668f249dbc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#ad9e25202bb8b481461f932668f249dbc">test_3d_classes1</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memdesc:ad9e25202bb8b481461f932668f249dbc"><td class="mdescLeft"> </td><td class="mdescRight">Creates a random set of points distributed in four clusters in 3D space with centroids at the points. <br /></td></tr>
|
||||
<tr class="separator:ad9e25202bb8b481461f932668f249dbc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0283886819c7c140a023582b7269e2d0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a0283886819c7c140a023582b7269e2d0">test2</a> ()</td></tr>
|
||||
<tr class="memitem:a0283886819c7c140a023582b7269e2d0" id="r_a0283886819c7c140a023582b7269e2d0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a0283886819c7c140a023582b7269e2d0">test2</a> ()</td></tr>
|
||||
<tr class="memdesc:a0283886819c7c140a023582b7269e2d0"><td class="mdescLeft"> </td><td class="mdescRight">Test that creates a random set of points distributed in 4 clusters in 3D space and trains an SOM that finds the topological pattern. <br /></td></tr>
|
||||
<tr class="separator:a0283886819c7c140a023582b7269e2d0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5bb02a8322d717ead1b11182c5f02a3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a5bb02a8322d717ead1b11182c5f02a3a">test_3d_classes2</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memitem:a5bb02a8322d717ead1b11182c5f02a3a" id="r_a5bb02a8322d717ead1b11182c5f02a3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a5bb02a8322d717ead1b11182c5f02a3a">test_3d_classes2</a> (double *const *<a class="el" href="../../df/dea/structdata.html">data</a>, int N)</td></tr>
|
||||
<tr class="memdesc:a5bb02a8322d717ead1b11182c5f02a3a"><td class="mdescLeft"> </td><td class="mdescRight">Creates a random set of points distributed in four clusters in 3D space with centroids at the points. <br /></td></tr>
|
||||
<tr class="separator:a5bb02a8322d717ead1b11182c5f02a3a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d0455dd5c30adda100e95f0423c786e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a6d0455dd5c30adda100e95f0423c786e">test3</a> ()</td></tr>
|
||||
<tr class="memitem:a6d0455dd5c30adda100e95f0423c786e" id="r_a6d0455dd5c30adda100e95f0423c786e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a6d0455dd5c30adda100e95f0423c786e">test3</a> ()</td></tr>
|
||||
<tr class="memdesc:a6d0455dd5c30adda100e95f0423c786e"><td class="mdescLeft"> </td><td class="mdescRight">Test that creates a random set of points distributed in eight clusters in 3D space and trains an SOM that finds the topological pattern. <br /></td></tr>
|
||||
<tr class="separator:a6d0455dd5c30adda100e95f0423c786e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2256c10b16edba377b64a44b6c656908"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a> (clock_t start_t, clock_t end_t)</td></tr>
|
||||
<tr class="memitem:a2256c10b16edba377b64a44b6c656908" id="r_a2256c10b16edba377b64a44b6c656908"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a> (clock_t start_t, clock_t end_t)</td></tr>
|
||||
<tr class="memdesc:a2256c10b16edba377b64a44b6c656908"><td class="mdescLeft"> </td><td class="mdescRight">Convert clock cycle difference to time in seconds. <br /></td></tr>
|
||||
<tr class="separator:a2256c10b16edba377b64a44b6c656908"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627" id="r_a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memdesc:a3c04138a5bfe5d72780bb7e82a18e627"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -786,7 +786,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_3343723ae086de42ee4ca9774da3a13f.html">machine_learning</a></li><li class="navelem"><a class="el" href="../../d2/df6/kohonen__som__topology_8c.html">kohonen_som_topology.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: hash/hash_adler32.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,13 +116,13 @@ Include dependency graph for hash_adler32.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ga506f0227a3b5f9434a503e09a3cb672b"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga506f0227a3b5f9434a503e09a3cb672b">adler32</a> (const char *s)</td></tr>
|
||||
<tr class="memitem:ga506f0227a3b5f9434a503e09a3cb672b" id="r_ga506f0227a3b5f9434a503e09a3cb672b"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga506f0227a3b5f9434a503e09a3cb672b">adler32</a> (const char *s)</td></tr>
|
||||
<tr class="memdesc:ga506f0227a3b5f9434a503e09a3cb672b"><td class="mdescLeft"> </td><td class="mdescRight">32-bit Adler algorithm implementation <br /></td></tr>
|
||||
<tr class="separator:ga506f0227a3b5f9434a503e09a3cb672b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga994ea8b243b6c0fbef734551ec5765dd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga994ea8b243b6c0fbef734551ec5765dd">test_adler32</a> ()</td></tr>
|
||||
<tr class="memitem:ga994ea8b243b6c0fbef734551ec5765dd" id="r_ga994ea8b243b6c0fbef734551ec5765dd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga994ea8b243b6c0fbef734551ec5765dd">test_adler32</a> ()</td></tr>
|
||||
<tr class="memdesc:ga994ea8b243b6c0fbef734551ec5765dd"><td class="mdescLeft"> </td><td class="mdescRight">Test function for <a class="el" href="../../d7/d3b/group__hash.html#ga506f0227a3b5f9434a503e09a3cb672b" title="32-bit Adler algorithm implementation">adler32</a>. <br /></td></tr>
|
||||
<tr class="separator:ga994ea8b243b6c0fbef734551ec5765dd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d39/hash__adler32_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d39/hash__adler32_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -166,7 +166,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_72aaf47615111200018c039a56ef48be.html">hash</a></li><li class="navelem"><a class="el" href="../../d3/d39/hash__adler32_8c.html">hash_adler32.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: searching/modified_binary_search.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -115,13 +115,13 @@ Include dependency graph for modified_binary_search.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a0cfaa56aacf960e4628a0fb27add8890"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d47/modified__binary__search_8c.html#a0cfaa56aacf960e4628a0fb27add8890">binarySearch</a> (const int **mat, int i, int j_low, int j_high, int x)</td></tr>
|
||||
<tr class="memitem:a0cfaa56aacf960e4628a0fb27add8890" id="r_a0cfaa56aacf960e4628a0fb27add8890"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d47/modified__binary__search_8c.html#a0cfaa56aacf960e4628a0fb27add8890">binarySearch</a> (const int **mat, int i, int j_low, int j_high, int x)</td></tr>
|
||||
<tr class="memdesc:a0cfaa56aacf960e4628a0fb27add8890"><td class="mdescLeft"> </td><td class="mdescRight">This function does Binary search for <code>x</code> in <code>i</code>-th row from <code>j_low</code> to <code>j_high</code>. <br /></td></tr>
|
||||
<tr class="separator:a0cfaa56aacf960e4628a0fb27add8890"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7df9a198e30cded6229d79bef7591f8f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d47/modified__binary__search_8c.html#a7df9a198e30cded6229d79bef7591f8f">modifiedBinarySearch</a> (const int **mat, int n, int m, int x)</td></tr>
|
||||
<tr class="memitem:a7df9a198e30cded6229d79bef7591f8f" id="r_a7df9a198e30cded6229d79bef7591f8f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d47/modified__binary__search_8c.html#a7df9a198e30cded6229d79bef7591f8f">modifiedBinarySearch</a> (const int **mat, int n, int m, int x)</td></tr>
|
||||
<tr class="memdesc:a7df9a198e30cded6229d79bef7591f8f"><td class="mdescLeft"> </td><td class="mdescRight">Function to perform binary search on the mid values of row to get the desired pair of rows where the element can be found. <br /></td></tr>
|
||||
<tr class="separator:a7df9a198e30cded6229d79bef7591f8f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d47/modified__binary__search_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d47/modified__binary__search_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -370,7 +370,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_da574daf9ce9c05b45556bdc871ed1e3.html">searching</a></li><li class="navelem"><a class="el" href="../../d3/d47/modified__binary__search_8c.html">modified_binary_search.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: _large_num Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,11 +108,11 @@ $(document).ready(function(){initNavTree('d3/d5a/struct__large__num.html','../..
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:afaf353a072cf050ac86ac6e39868bcc9"><td class="memItemLeft" align="right" valign="top"><a id="afaf353a072cf050ac86ac6e39868bcc9" name="afaf353a072cf050ac86ac6e39868bcc9"></a>
|
||||
<tr class="memitem:afaf353a072cf050ac86ac6e39868bcc9" id="r_afaf353a072cf050ac86ac6e39868bcc9"><td class="memItemLeft" align="right" valign="top"><a id="afaf353a072cf050ac86ac6e39868bcc9" name="afaf353a072cf050ac86ac6e39868bcc9"></a>
|
||||
char * </td><td class="memItemRight" valign="bottom"><b>digits</b></td></tr>
|
||||
<tr class="memdesc:afaf353a072cf050ac86ac6e39868bcc9"><td class="mdescLeft"> </td><td class="mdescRight">array to store individual digits <br /></td></tr>
|
||||
<tr class="separator:afaf353a072cf050ac86ac6e39868bcc9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3fd11c0b413bbabfb8737d4ae73e5aa0"><td class="memItemLeft" align="right" valign="top"><a id="a3fd11c0b413bbabfb8737d4ae73e5aa0" name="a3fd11c0b413bbabfb8737d4ae73e5aa0"></a>
|
||||
<tr class="memitem:a3fd11c0b413bbabfb8737d4ae73e5aa0" id="r_a3fd11c0b413bbabfb8737d4ae73e5aa0"><td class="memItemLeft" align="right" valign="top"><a id="a3fd11c0b413bbabfb8737d4ae73e5aa0" name="a3fd11c0b413bbabfb8737d4ae73e5aa0"></a>
|
||||
unsigned int </td><td class="memItemRight" valign="bottom"><b>num_digits</b></td></tr>
|
||||
<tr class="memdesc:a3fd11c0b413bbabfb8737d4ae73e5aa0"><td class="mdescLeft"> </td><td class="mdescRight">number of digits in the number <br /></td></tr>
|
||||
<tr class="separator:a3fd11c0b413bbabfb8737d4ae73e5aa0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -128,7 +128,7 @@ unsigned int </td><td class="memItemRight" valign="bottom"><b>num_digits</b
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d3/d5a/struct__large__num.html">_large_num</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: data_structures/binary_trees/words_alphabetical.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -127,34 +127,34 @@ Data Structures</h2></td></tr>
|
|||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a5157a5b4e164f934602fa78413504029"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a5157a5b4e164f934602fa78413504029">endProgramAbruptly</a> (char *errorMessage)</td></tr>
|
||||
<tr class="memitem:a5157a5b4e164f934602fa78413504029" id="r_a5157a5b4e164f934602fa78413504029"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a5157a5b4e164f934602fa78413504029">endProgramAbruptly</a> (char *errorMessage)</td></tr>
|
||||
<tr class="memdesc:a5157a5b4e164f934602fa78413504029"><td class="mdescLeft"> </td><td class="mdescRight">Ends program due to an error. <br /></td></tr>
|
||||
<tr class="separator:a5157a5b4e164f934602fa78413504029"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a840902ada0e956eb01b529be178748cc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a840902ada0e956eb01b529be178748cc">freeTreeMemory</a> (struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> *<a class="el" href="../../d5/da1/structnode.html">node</a>)</td></tr>
|
||||
<tr class="memitem:a840902ada0e956eb01b529be178748cc" id="r_a840902ada0e956eb01b529be178748cc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a840902ada0e956eb01b529be178748cc">freeTreeMemory</a> (struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> *<a class="el" href="../../d5/da1/structnode.html">node</a>)</td></tr>
|
||||
<tr class="memdesc:a840902ada0e956eb01b529be178748cc"><td class="mdescLeft"> </td><td class="mdescRight">Frees memory when program is terminating. <br /></td></tr>
|
||||
<tr class="separator:a840902ada0e956eb01b529be178748cc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9e3cab68cf6557024f0073f674a307a1"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a9e3cab68cf6557024f0073f674a307a1">getPointerToWord</a> (char *word)</td></tr>
|
||||
<tr class="memitem:a9e3cab68cf6557024f0073f674a307a1" id="r_a9e3cab68cf6557024f0073f674a307a1"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a9e3cab68cf6557024f0073f674a307a1">getPointerToWord</a> (char *word)</td></tr>
|
||||
<tr class="memdesc:a9e3cab68cf6557024f0073f674a307a1"><td class="mdescLeft"> </td><td class="mdescRight">Stores word in memory. <br /></td></tr>
|
||||
<tr class="separator:a9e3cab68cf6557024f0073f674a307a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af1f9b6eb320d872ba0766dc8bd070075"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#af1f9b6eb320d872ba0766dc8bd070075">closeFile</a> (FILE *file)</td></tr>
|
||||
<tr class="memitem:af1f9b6eb320d872ba0766dc8bd070075" id="r_af1f9b6eb320d872ba0766dc8bd070075"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#af1f9b6eb320d872ba0766dc8bd070075">closeFile</a> (FILE *file)</td></tr>
|
||||
<tr class="memdesc:af1f9b6eb320d872ba0766dc8bd070075"><td class="mdescLeft"> </td><td class="mdescRight">Closes the file after reading or writing. <br /></td></tr>
|
||||
<tr class="separator:af1f9b6eb320d872ba0766dc8bd070075"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1e5ad8401396df36ab585d79f3309fd9"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a1e5ad8401396df36ab585d79f3309fd9">allocateMemoryForNode</a> ()</td></tr>
|
||||
<tr class="memitem:a1e5ad8401396df36ab585d79f3309fd9" id="r_a1e5ad8401396df36ab585d79f3309fd9"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a1e5ad8401396df36ab585d79f3309fd9">allocateMemoryForNode</a> ()</td></tr>
|
||||
<tr class="memdesc:a1e5ad8401396df36ab585d79f3309fd9"><td class="mdescLeft"> </td><td class="mdescRight">Reserves memory for new node. <br /></td></tr>
|
||||
<tr class="separator:a1e5ad8401396df36ab585d79f3309fd9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a22516c70583c9fa78e4edffb063836cc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a22516c70583c9fa78e4edffb063836cc">writeContentOfTreeToFile</a> (struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> *<a class="el" href="../../d5/da1/structnode.html">node</a>, FILE *file)</td></tr>
|
||||
<tr class="memitem:a22516c70583c9fa78e4edffb063836cc" id="r_a22516c70583c9fa78e4edffb063836cc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a22516c70583c9fa78e4edffb063836cc">writeContentOfTreeToFile</a> (struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> *<a class="el" href="../../d5/da1/structnode.html">node</a>, FILE *file)</td></tr>
|
||||
<tr class="memdesc:a22516c70583c9fa78e4edffb063836cc"><td class="mdescLeft"> </td><td class="mdescRight">Writes contents of tree to another file alphabetically. <br /></td></tr>
|
||||
<tr class="separator:a22516c70583c9fa78e4edffb063836cc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ac11529daf94e98f7114a6e938679a9"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a0ac11529daf94e98f7114a6e938679a9">addWordToTree</a> (char *word, struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> *currentNode)</td></tr>
|
||||
<tr class="memitem:a0ac11529daf94e98f7114a6e938679a9" id="r_a0ac11529daf94e98f7114a6e938679a9"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a0ac11529daf94e98f7114a6e938679a9">addWordToTree</a> (char *word, struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> *currentNode)</td></tr>
|
||||
<tr class="memdesc:a0ac11529daf94e98f7114a6e938679a9"><td class="mdescLeft"> </td><td class="mdescRight">Adds word (node) to the correct position in tree. <br /></td></tr>
|
||||
<tr class="separator:a0ac11529daf94e98f7114a6e938679a9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a151b2c78ae821d0495faf936a1c2530f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a151b2c78ae821d0495faf936a1c2530f">readWordsInFileToTree</a> (FILE *file, struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> *root)</td></tr>
|
||||
<tr class="memitem:a151b2c78ae821d0495faf936a1c2530f" id="r_a151b2c78ae821d0495faf936a1c2530f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#a151b2c78ae821d0495faf936a1c2530f">readWordsInFileToTree</a> (FILE *file, struct <a class="el" href="../../db/d8b/struct_node.html">Node</a> *root)</td></tr>
|
||||
<tr class="memdesc:a151b2c78ae821d0495faf936a1c2530f"><td class="mdescLeft"> </td><td class="mdescRight">Reads words from file to tree. <br /></td></tr>
|
||||
<tr class="separator:a151b2c78ae821d0495faf936a1c2530f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d78/words__alphabetical_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -748,7 +748,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_2e746e9d06bf2d8ff842208bcc6ebcfc.html">data_structures</a></li><li class="navelem"><a class="el" href="../../dir_e39df94f82619fa5256f1786519937be.html">binary_trees</a></li><li class="navelem"><a class="el" href="../../d3/d78/words__alphabetical_8c.html">words_alphabetical.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Contributor Covenant Code of Conduct</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -164,7 +164,7 @@ Attribution</h1>
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: NFA Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -113,39 +113,39 @@ Collaboration diagram for NFA:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a1f68cf1d2a14e9e3035baba764dd3df7"><td class="memItemLeft" align="right" valign="top"><a id="a1f68cf1d2a14e9e3035baba764dd3df7" name="a1f68cf1d2a14e9e3035baba764dd3df7"></a>
|
||||
<tr class="memitem:a1f68cf1d2a14e9e3035baba764dd3df7" id="r_a1f68cf1d2a14e9e3035baba764dd3df7"><td class="memItemLeft" align="right" valign="top"><a id="a1f68cf1d2a14e9e3035baba764dd3df7" name="a1f68cf1d2a14e9e3035baba764dd3df7"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>stateCount</b></td></tr>
|
||||
<tr class="memdesc:a1f68cf1d2a14e9e3035baba764dd3df7"><td class="mdescLeft"> </td><td class="mdescRight">the total number of states this <a class="el" href="../../d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> have <br /></td></tr>
|
||||
<tr class="separator:a1f68cf1d2a14e9e3035baba764dd3df7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaf1fe7a48e3990c7cc9ec5cba8c82d02"><td class="memItemLeft" align="right" valign="top"><a id="aaf1fe7a48e3990c7cc9ec5cba8c82d02" name="aaf1fe7a48e3990c7cc9ec5cba8c82d02"></a>
|
||||
<tr class="memitem:aaf1fe7a48e3990c7cc9ec5cba8c82d02" id="r_aaf1fe7a48e3990c7cc9ec5cba8c82d02"><td class="memItemLeft" align="right" valign="top"><a id="aaf1fe7a48e3990c7cc9ec5cba8c82d02" name="aaf1fe7a48e3990c7cc9ec5cba8c82d02"></a>
|
||||
struct <a class="el" href="../../d4/d97/struct_n_f_a_state.html">NFAState</a> ** </td><td class="memItemRight" valign="bottom"><b>statePool</b></td></tr>
|
||||
<tr class="memdesc:aaf1fe7a48e3990c7cc9ec5cba8c82d02"><td class="mdescLeft"> </td><td class="mdescRight">the pool of all available states <br /></td></tr>
|
||||
<tr class="separator:aaf1fe7a48e3990c7cc9ec5cba8c82d02"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7087a5c8f402de41f50d38f7fdf99f74"><td class="memItemLeft" align="right" valign="top"><a id="a7087a5c8f402de41f50d38f7fdf99f74" name="a7087a5c8f402de41f50d38f7fdf99f74"></a>
|
||||
<tr class="memitem:a7087a5c8f402de41f50d38f7fdf99f74" id="r_a7087a5c8f402de41f50d38f7fdf99f74"><td class="memItemLeft" align="right" valign="top"><a id="a7087a5c8f402de41f50d38f7fdf99f74" name="a7087a5c8f402de41f50d38f7fdf99f74"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>ruleCount</b></td></tr>
|
||||
<tr class="memdesc:a7087a5c8f402de41f50d38f7fdf99f74"><td class="mdescLeft"> </td><td class="mdescRight">the total number of transition rules in this <a class="el" href="../../d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> <br /></td></tr>
|
||||
<tr class="separator:a7087a5c8f402de41f50d38f7fdf99f74"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d263fee53d282bdb1536ad2134bd532"><td class="memItemLeft" align="right" valign="top"><a id="a6d263fee53d282bdb1536ad2134bd532" name="a6d263fee53d282bdb1536ad2134bd532"></a>
|
||||
<tr class="memitem:a6d263fee53d282bdb1536ad2134bd532" id="r_a6d263fee53d282bdb1536ad2134bd532"><td class="memItemLeft" align="right" valign="top"><a id="a6d263fee53d282bdb1536ad2134bd532" name="a6d263fee53d282bdb1536ad2134bd532"></a>
|
||||
struct <a class="el" href="../../d9/dd9/structtrans_rule.html">transRule</a> ** </td><td class="memItemRight" valign="bottom"><b>rulePool</b></td></tr>
|
||||
<tr class="memdesc:a6d263fee53d282bdb1536ad2134bd532"><td class="mdescLeft"> </td><td class="mdescRight">the pool of all transition rules <br /></td></tr>
|
||||
<tr class="separator:a6d263fee53d282bdb1536ad2134bd532"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a38e4fdb290def5942dc14eff7c6211ba"><td class="memItemLeft" align="right" valign="top"><a id="a38e4fdb290def5942dc14eff7c6211ba" name="a38e4fdb290def5942dc14eff7c6211ba"></a>
|
||||
<tr class="memitem:a38e4fdb290def5942dc14eff7c6211ba" id="r_a38e4fdb290def5942dc14eff7c6211ba"><td class="memItemLeft" align="right" valign="top"><a id="a38e4fdb290def5942dc14eff7c6211ba" name="a38e4fdb290def5942dc14eff7c6211ba"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>CSCount</b></td></tr>
|
||||
<tr class="memdesc:a38e4fdb290def5942dc14eff7c6211ba"><td class="mdescLeft"> </td><td class="mdescRight">the number of currently active states <br /></td></tr>
|
||||
<tr class="separator:a38e4fdb290def5942dc14eff7c6211ba"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad400f1830095be00a7fdff804d6405c0"><td class="memItemLeft" align="right" valign="top"><a id="ad400f1830095be00a7fdff804d6405c0" name="ad400f1830095be00a7fdff804d6405c0"></a>
|
||||
<tr class="memitem:ad400f1830095be00a7fdff804d6405c0" id="r_ad400f1830095be00a7fdff804d6405c0"><td class="memItemLeft" align="right" valign="top"><a id="ad400f1830095be00a7fdff804d6405c0" name="ad400f1830095be00a7fdff804d6405c0"></a>
|
||||
struct <a class="el" href="../../d4/d97/struct_n_f_a_state.html">NFAState</a> ** </td><td class="memItemRight" valign="bottom"><b>currentStates</b></td></tr>
|
||||
<tr class="memdesc:ad400f1830095be00a7fdff804d6405c0"><td class="mdescLeft"> </td><td class="mdescRight">the pool of all active states <br /></td></tr>
|
||||
<tr class="separator:ad400f1830095be00a7fdff804d6405c0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5e64682c0c21d3f931096b2ef38b5072"><td class="memItemLeft" align="right" valign="top"><a id="a5e64682c0c21d3f931096b2ef38b5072" name="a5e64682c0c21d3f931096b2ef38b5072"></a>
|
||||
<tr class="memitem:a5e64682c0c21d3f931096b2ef38b5072" id="r_a5e64682c0c21d3f931096b2ef38b5072"><td class="memItemLeft" align="right" valign="top"><a id="a5e64682c0c21d3f931096b2ef38b5072" name="a5e64682c0c21d3f931096b2ef38b5072"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>subCount</b></td></tr>
|
||||
<tr class="memdesc:a5e64682c0c21d3f931096b2ef38b5072"><td class="mdescLeft"> </td><td class="mdescRight">the number of sub NFAs <br /></td></tr>
|
||||
<tr class="separator:a5e64682c0c21d3f931096b2ef38b5072"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9b3eef40ce5b331a6508648b2c32ea00"><td class="memItemLeft" align="right" valign="top"><a id="a9b3eef40ce5b331a6508648b2c32ea00" name="a9b3eef40ce5b331a6508648b2c32ea00"></a>
|
||||
<tr class="memitem:a9b3eef40ce5b331a6508648b2c32ea00" id="r_a9b3eef40ce5b331a6508648b2c32ea00"><td class="memItemLeft" align="right" valign="top"><a id="a9b3eef40ce5b331a6508648b2c32ea00" name="a9b3eef40ce5b331a6508648b2c32ea00"></a>
|
||||
struct <a class="el" href="../../d3/dd7/struct_n_f_a.html">NFA</a> ** </td><td class="memItemRight" valign="bottom"><b>subs</b></td></tr>
|
||||
<tr class="memdesc:a9b3eef40ce5b331a6508648b2c32ea00"><td class="mdescLeft"> </td><td class="mdescRight">the pool of all sub NFAs <br /></td></tr>
|
||||
<tr class="separator:a9b3eef40ce5b331a6508648b2c32ea00"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a46968ad64f39e9c62b8fb7970d494422"><td class="memItemLeft" align="right" valign="top"><a id="a46968ad64f39e9c62b8fb7970d494422" name="a46968ad64f39e9c62b8fb7970d494422"></a>
|
||||
<tr class="memitem:a46968ad64f39e9c62b8fb7970d494422" id="r_a46968ad64f39e9c62b8fb7970d494422"><td class="memItemLeft" align="right" valign="top"><a id="a46968ad64f39e9c62b8fb7970d494422" name="a46968ad64f39e9c62b8fb7970d494422"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>wrapperFlag</b></td></tr>
|
||||
<tr class="memdesc:a46968ad64f39e9c62b8fb7970d494422"><td class="mdescLeft"> </td><td class="mdescRight">whether this <a class="el" href="../../d3/dd7/struct_n_f_a.html" title="Definition for the NFA itself.">NFA</a> is a concatenation wrapper <br /></td></tr>
|
||||
<tr class="separator:a46968ad64f39e9c62b8fb7970d494422"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -162,7 +162,7 @@ int </td><td class="memItemRight" valign="bottom"><b>wrapperFlag</b></td></
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d3/dd7/struct_n_f_a.html">NFA</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: BSTIterator Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,13 +108,13 @@ $(document).ready(function(){initNavTree('d4/d02/struct_b_s_t_iterator.html','..
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a29a6586bff08dc6985b29abb50ddc2ff"><td class="memItemLeft" align="right" valign="top"><a id="a29a6586bff08dc6985b29abb50ddc2ff" name="a29a6586bff08dc6985b29abb50ddc2ff"></a>
|
||||
<tr class="memitem:a29a6586bff08dc6985b29abb50ddc2ff" id="r_a29a6586bff08dc6985b29abb50ddc2ff"><td class="memItemLeft" align="right" valign="top"><a id="a29a6586bff08dc6985b29abb50ddc2ff" name="a29a6586bff08dc6985b29abb50ddc2ff"></a>
|
||||
int * </td><td class="memItemRight" valign="bottom"><b>values</b></td></tr>
|
||||
<tr class="separator:a29a6586bff08dc6985b29abb50ddc2ff"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7b13dbbbe1bcbb12ec0bbe9949c66c5b"><td class="memItemLeft" align="right" valign="top"><a id="a7b13dbbbe1bcbb12ec0bbe9949c66c5b" name="a7b13dbbbe1bcbb12ec0bbe9949c66c5b"></a>
|
||||
<tr class="memitem:a7b13dbbbe1bcbb12ec0bbe9949c66c5b" id="r_a7b13dbbbe1bcbb12ec0bbe9949c66c5b"><td class="memItemLeft" align="right" valign="top"><a id="a7b13dbbbe1bcbb12ec0bbe9949c66c5b" name="a7b13dbbbe1bcbb12ec0bbe9949c66c5b"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>CurrentIndex</b></td></tr>
|
||||
<tr class="separator:a7b13dbbbe1bcbb12ec0bbe9949c66c5b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae02c531c71091f43880fd7eb8f13cc53"><td class="memItemLeft" align="right" valign="top"><a id="ae02c531c71091f43880fd7eb8f13cc53" name="ae02c531c71091f43880fd7eb8f13cc53"></a>
|
||||
<tr class="memitem:ae02c531c71091f43880fd7eb8f13cc53" id="r_ae02c531c71091f43880fd7eb8f13cc53"><td class="memItemLeft" align="right" valign="top"><a id="ae02c531c71091f43880fd7eb8f13cc53" name="ae02c531c71091f43880fd7eb8f13cc53"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>NumberOfNodes</b></td></tr>
|
||||
<tr class="separator:ae02c531c71091f43880fd7eb8f13cc53"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -122,7 +122,7 @@ int </td><td class="memItemRight" valign="bottom"><b>NumberOfNodes</b></td>
|
|||
<div class="textblock"><p>Definition for a binary tree node. </p>
|
||||
<p>struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; }; </p>
|
||||
</div><hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>leetcode/src/173.c</li>
|
||||
<li>leetcode/src/<b>173.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -130,7 +130,7 @@ int </td><td class="memItemRight" valign="bottom"><b>NumberOfNodes</b></td>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/d02/struct_b_s_t_iterator.html">BSTIterator</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Vector Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,15 +108,15 @@ $(document).ready(function(){initNavTree('d4/d06/struct_vector.html','../../');
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a55870593ddea19c96770c2521b075059"><td class="memItemLeft" align="right" valign="top"><a id="a55870593ddea19c96770c2521b075059" name="a55870593ddea19c96770c2521b075059"></a>
|
||||
<tr class="memitem:a55870593ddea19c96770c2521b075059" id="r_a55870593ddea19c96770c2521b075059"><td class="memItemLeft" align="right" valign="top"><a id="a55870593ddea19c96770c2521b075059" name="a55870593ddea19c96770c2521b075059"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>len</b></td></tr>
|
||||
<tr class="memdesc:a55870593ddea19c96770c2521b075059"><td class="mdescLeft"> </td><td class="mdescRight">contains the length of the vector <br /></td></tr>
|
||||
<tr class="separator:a55870593ddea19c96770c2521b075059"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8cb577f14bea1a6c1fbf85717b3ee4f9"><td class="memItemLeft" align="right" valign="top"><a id="a8cb577f14bea1a6c1fbf85717b3ee4f9" name="a8cb577f14bea1a6c1fbf85717b3ee4f9"></a>
|
||||
<tr class="memitem:a8cb577f14bea1a6c1fbf85717b3ee4f9" id="r_a8cb577f14bea1a6c1fbf85717b3ee4f9"><td class="memItemLeft" align="right" valign="top"><a id="a8cb577f14bea1a6c1fbf85717b3ee4f9" name="a8cb577f14bea1a6c1fbf85717b3ee4f9"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>current</b></td></tr>
|
||||
<tr class="memdesc:a8cb577f14bea1a6c1fbf85717b3ee4f9"><td class="mdescLeft"> </td><td class="mdescRight">holds the current item <br /></td></tr>
|
||||
<tr class="separator:a8cb577f14bea1a6c1fbf85717b3ee4f9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afd870750f3874ee097833fc8a1dc809e"><td class="memItemLeft" align="right" valign="top"><a id="afd870750f3874ee097833fc8a1dc809e" name="afd870750f3874ee097833fc8a1dc809e"></a>
|
||||
<tr class="memitem:afd870750f3874ee097833fc8a1dc809e" id="r_afd870750f3874ee097833fc8a1dc809e"><td class="memItemLeft" align="right" valign="top"><a id="afd870750f3874ee097833fc8a1dc809e" name="afd870750f3874ee097833fc8a1dc809e"></a>
|
||||
int * </td><td class="memItemRight" valign="bottom"><b>contents</b></td></tr>
|
||||
<tr class="memdesc:afd870750f3874ee097833fc8a1dc809e"><td class="mdescLeft"> </td><td class="mdescRight">the internal array itself <br /></td></tr>
|
||||
<tr class="separator:afd870750f3874ee097833fc8a1dc809e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -133,7 +133,7 @@ int * </td><td class="memItemRight" valign="bottom"><b>contents</b></td></t
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/d06/struct_vector.html">Vector</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: numerical_methods/ode_forward_euler.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,26 +118,26 @@ Include dependency graph for ode_forward_euler.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a9ceb646336224ee890a269d0b4600d09"><td class="memItemLeft" align="right" valign="top"><a id="a9ceb646336224ee890a269d0b4600d09" name="a9ceb646336224ee890a269d0b4600d09"></a>
|
||||
<tr class="memitem:a9ceb646336224ee890a269d0b4600d09" id="r_a9ceb646336224ee890a269d0b4600d09"><td class="memItemLeft" align="right" valign="top"><a id="a9ceb646336224ee890a269d0b4600d09" name="a9ceb646336224ee890a269d0b4600d09"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>order</b>   2</td></tr>
|
||||
<tr class="memdesc:a9ceb646336224ee890a269d0b4600d09"><td class="mdescLeft"> </td><td class="mdescRight">number of dependent variables in <a class="el" href="../../d4/d07/ode__forward__euler_8c.html#a97075291390a68c262ed66e157a57eb4" title="Problem statement for a system with first-order differential equations.">problem</a> <br /></td></tr>
|
||||
<tr class="separator:a9ceb646336224ee890a269d0b4600d09"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a97075291390a68c262ed66e157a57eb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a> (const double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memitem:a97075291390a68c262ed66e157a57eb4" id="r_a97075291390a68c262ed66e157a57eb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a> (const double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memdesc:a97075291390a68c262ed66e157a57eb4"><td class="mdescLeft"> </td><td class="mdescRight">Problem statement for a system with first-order differential equations. <br /></td></tr>
|
||||
<tr class="separator:a97075291390a68c262ed66e157a57eb4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8caee977b26888d34040b122e0e28e3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a> (const double *x, double *y)</td></tr>
|
||||
<tr class="memitem:a8caee977b26888d34040b122e0e28e3a" id="r_a8caee977b26888d34040b122e0e28e3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a> (const double *x, double *y)</td></tr>
|
||||
<tr class="memdesc:a8caee977b26888d34040b122e0e28e3a"><td class="mdescLeft"> </td><td class="mdescRight">Exact solution of the problem. <br /></td></tr>
|
||||
<tr class="separator:a8caee977b26888d34040b122e0e28e3a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae6c9413953c8d9d4bc9e374b29586350"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#ae6c9413953c8d9d4bc9e374b29586350">forward_euler_step</a> (const double dx, const double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memitem:ae6c9413953c8d9d4bc9e374b29586350" id="r_ae6c9413953c8d9d4bc9e374b29586350"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#ae6c9413953c8d9d4bc9e374b29586350">forward_euler_step</a> (const double dx, const double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memdesc:ae6c9413953c8d9d4bc9e374b29586350"><td class="mdescLeft"> </td><td class="mdescRight">Compute next step approximation using the forward-Euler method. <br /></td></tr>
|
||||
<tr class="separator:ae6c9413953c8d9d4bc9e374b29586350"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaf88ad8f9f7c39fc38f3f03d6fea9df9"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#aaf88ad8f9f7c39fc38f3f03d6fea9df9">forward_euler</a> (double dx, double x0, double x_max, double *y, char save_to_file)</td></tr>
|
||||
<tr class="memitem:aaf88ad8f9f7c39fc38f3f03d6fea9df9" id="r_aaf88ad8f9f7c39fc38f3f03d6fea9df9"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#aaf88ad8f9f7c39fc38f3f03d6fea9df9">forward_euler</a> (double dx, double x0, double x_max, double *y, char save_to_file)</td></tr>
|
||||
<tr class="memdesc:aaf88ad8f9f7c39fc38f3f03d6fea9df9"><td class="mdescLeft"> </td><td class="mdescRight">Compute approximation using the forward-Euler method in the given limits. <br /></td></tr>
|
||||
<tr class="separator:aaf88ad8f9f7c39fc38f3f03d6fea9df9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">Main Function. <br /></td></tr>
|
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -507,7 +507,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9c6faab82c22511b50177aa2e38e2780.html">numerical_methods</a></li><li class="navelem"><a class="el" href="../../d4/d07/ode__forward__euler_8c.html">ode_forward_euler.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: stack Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,18 +110,18 @@ Collaboration diagram for stack:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a65005e0c15956433453c98c9cd2d8a0a"><td class="memItemLeft" align="right" valign="top"><a id="a65005e0c15956433453c98c9cd2d8a0a" name="a65005e0c15956433453c98c9cd2d8a0a"></a>
|
||||
<tr class="memitem:a65005e0c15956433453c98c9cd2d8a0a" id="r_a65005e0c15956433453c98c9cd2d8a0a"><td class="memItemLeft" align="right" valign="top"><a id="a65005e0c15956433453c98c9cd2d8a0a" name="a65005e0c15956433453c98c9cd2d8a0a"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>price</b></td></tr>
|
||||
<tr class="separator:a65005e0c15956433453c98c9cd2d8a0a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2aab142a3e3c21a0c5ea1d3e19696bc9"><td class="memItemLeft" align="right" valign="top"><a id="a2aab142a3e3c21a0c5ea1d3e19696bc9" name="a2aab142a3e3c21a0c5ea1d3e19696bc9"></a>
|
||||
<tr class="memitem:a2aab142a3e3c21a0c5ea1d3e19696bc9" id="r_a2aab142a3e3c21a0c5ea1d3e19696bc9"><td class="memItemLeft" align="right" valign="top"><a id="a2aab142a3e3c21a0c5ea1d3e19696bc9" name="a2aab142a3e3c21a0c5ea1d3e19696bc9"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>index</b></td></tr>
|
||||
<tr class="separator:a2aab142a3e3c21a0c5ea1d3e19696bc9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d87dd43fb8a75fbd9204012123dc256"><td class="memItemLeft" align="right" valign="top"><a id="a6d87dd43fb8a75fbd9204012123dc256" name="a6d87dd43fb8a75fbd9204012123dc256"></a>
|
||||
<tr class="memitem:a6d87dd43fb8a75fbd9204012123dc256" id="r_a6d87dd43fb8a75fbd9204012123dc256"><td class="memItemLeft" align="right" valign="top"><a id="a6d87dd43fb8a75fbd9204012123dc256" name="a6d87dd43fb8a75fbd9204012123dc256"></a>
|
||||
struct <a class="el" href="../../d4/d11/structstack.html">stack</a> * </td><td class="memItemRight" valign="bottom"><b>previous</b></td></tr>
|
||||
<tr class="separator:a6d87dd43fb8a75fbd9204012123dc256"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>leetcode/src/901.c</li>
|
||||
<li>leetcode/src/<b>901.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -129,7 +129,7 @@ struct <a class="el" href="../../d4/d11/structstack.html">stack</a> * </td>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/d11/structstack.html">stack</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: CArray Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -105,10 +105,10 @@ $(document).ready(function(){initNavTree('d4/d2d/struct_c_array.html','../../');
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a53c08029937d9e4c45defcbf9c8898ae"><td class="memItemLeft" align="right" valign="top"><a id="a53c08029937d9e4c45defcbf9c8898ae" name="a53c08029937d9e4c45defcbf9c8898ae"></a>
|
||||
<tr class="memitem:a53c08029937d9e4c45defcbf9c8898ae" id="r_a53c08029937d9e4c45defcbf9c8898ae"><td class="memItemLeft" align="right" valign="top"><a id="a53c08029937d9e4c45defcbf9c8898ae" name="a53c08029937d9e4c45defcbf9c8898ae"></a>
|
||||
int * </td><td class="memItemRight" valign="bottom"><b>array</b></td></tr>
|
||||
<tr class="separator:a53c08029937d9e4c45defcbf9c8898ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7f7310046fa06b26a1ff7772500724ee"><td class="memItemLeft" align="right" valign="top"><a id="a7f7310046fa06b26a1ff7772500724ee" name="a7f7310046fa06b26a1ff7772500724ee"></a>
|
||||
<tr class="memitem:a7f7310046fa06b26a1ff7772500724ee" id="r_a7f7310046fa06b26a1ff7772500724ee"><td class="memItemLeft" align="right" valign="top"><a id="a7f7310046fa06b26a1ff7772500724ee" name="a7f7310046fa06b26a1ff7772500724ee"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>size</b></td></tr>
|
||||
<tr class="separator:a7f7310046fa06b26a1ff7772500724ee"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -121,7 +121,7 @@ int </td><td class="memItemRight" valign="bottom"><b>size</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/d2d/struct_c_array.html">CArray</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: DArrayStack Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -108,14 +108,14 @@ $(document).ready(function(){initNavTree('d4/d67/struct_d_array_stack.html','../
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:afe9693d838c56b872d9da835214ad0a3"><td class="memItemLeft" align="right" valign="top"><a id="afe9693d838c56b872d9da835214ad0a3" name="afe9693d838c56b872d9da835214ad0a3"></a>
|
||||
<tr class="memitem:afe9693d838c56b872d9da835214ad0a3" id="r_afe9693d838c56b872d9da835214ad0a3"><td class="memItemLeft" align="right" valign="top"><a id="afe9693d838c56b872d9da835214ad0a3" name="afe9693d838c56b872d9da835214ad0a3"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>capacity</b></td></tr>
|
||||
<tr class="separator:afe9693d838c56b872d9da835214ad0a3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0207dbf74f0f8623933bec50c36b4c4f"><td class="memItemLeft" align="right" valign="top"><a id="a0207dbf74f0f8623933bec50c36b4c4f" name="a0207dbf74f0f8623933bec50c36b4c4f"></a>
|
||||
<tr class="memitem:a0207dbf74f0f8623933bec50c36b4c4f" id="r_a0207dbf74f0f8623933bec50c36b4c4f"><td class="memItemLeft" align="right" valign="top"><a id="a0207dbf74f0f8623933bec50c36b4c4f" name="a0207dbf74f0f8623933bec50c36b4c4f"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>top</b></td></tr>
|
||||
<tr class="memdesc:a0207dbf74f0f8623933bec50c36b4c4f"><td class="mdescLeft"> </td><td class="mdescRight">to store capacity and top of the stack <br /></td></tr>
|
||||
<tr class="separator:a0207dbf74f0f8623933bec50c36b4c4f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aae446fbaecfeae53a970e7a63b74c126"><td class="memItemLeft" align="right" valign="top"><a id="aae446fbaecfeae53a970e7a63b74c126" name="aae446fbaecfeae53a970e7a63b74c126"></a>
|
||||
<tr class="memitem:aae446fbaecfeae53a970e7a63b74c126" id="r_aae446fbaecfeae53a970e7a63b74c126"><td class="memItemLeft" align="right" valign="top"><a id="aae446fbaecfeae53a970e7a63b74c126" name="aae446fbaecfeae53a970e7a63b74c126"></a>
|
||||
int * </td><td class="memItemRight" valign="bottom"><b>arrPtr</b></td></tr>
|
||||
<tr class="memdesc:aae446fbaecfeae53a970e7a63b74c126"><td class="mdescLeft"> </td><td class="mdescRight">array pointer <br /></td></tr>
|
||||
<tr class="separator:aae446fbaecfeae53a970e7a63b74c126"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -133,7 +133,7 @@ int * </td><td class="memItemRight" valign="bottom"><b>arrPtr</b></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/d67/struct_d_array_stack.html">DArrayStack</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: numerical_methods/qr_decompose.h File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -123,22 +123,22 @@ This graph shows which files directly or indirectly include this file:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a90562ce8c3707401e9c5809dece68d6a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a90562ce8c3707401e9c5809dece68d6a">print_matrix</a> (double **A, int M, int N)</td></tr>
|
||||
<tr class="memitem:a90562ce8c3707401e9c5809dece68d6a" id="r_a90562ce8c3707401e9c5809dece68d6a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a90562ce8c3707401e9c5809dece68d6a">print_matrix</a> (double **A, int M, int N)</td></tr>
|
||||
<tr class="memdesc:a90562ce8c3707401e9c5809dece68d6a"><td class="mdescLeft"> </td><td class="mdescRight">function to display matrix on stdout <br /></td></tr>
|
||||
<tr class="separator:a90562ce8c3707401e9c5809dece68d6a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3a584b79941a43d775f9d4ce446dbe05"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a3a584b79941a43d775f9d4ce446dbe05">vector_dot</a> (double *a, double *b, int <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memitem:a3a584b79941a43d775f9d4ce446dbe05" id="r_a3a584b79941a43d775f9d4ce446dbe05"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a3a584b79941a43d775f9d4ce446dbe05">vector_dot</a> (double *a, double *b, int <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memdesc:a3a584b79941a43d775f9d4ce446dbe05"><td class="mdescLeft"> </td><td class="mdescRight">Compute dot product of two vectors of equal lengths. <br /></td></tr>
|
||||
<tr class="separator:a3a584b79941a43d775f9d4ce446dbe05"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abeec1f78a7a7e7251687e75340331212"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#abeec1f78a7a7e7251687e75340331212">vector_mag</a> (double *vector, int <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memitem:abeec1f78a7a7e7251687e75340331212" id="r_abeec1f78a7a7e7251687e75340331212"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#abeec1f78a7a7e7251687e75340331212">vector_mag</a> (double *vector, int <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memdesc:abeec1f78a7a7e7251687e75340331212"><td class="mdescLeft"> </td><td class="mdescRight">Compute magnitude of vector. <br /></td></tr>
|
||||
<tr class="separator:abeec1f78a7a7e7251687e75340331212"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2ed4977f38642dca8b10c16a823c740b"><td class="memItemLeft" align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a2ed4977f38642dca8b10c16a823c740b">vector_proj</a> (double *a, double *b, double *out, int <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memitem:a2ed4977f38642dca8b10c16a823c740b" id="r_a2ed4977f38642dca8b10c16a823c740b"><td class="memItemLeft" align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a2ed4977f38642dca8b10c16a823c740b">vector_proj</a> (double *a, double *b, double *out, int <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memdesc:a2ed4977f38642dca8b10c16a823c740b"><td class="mdescLeft"> </td><td class="mdescRight">Compute projection of vector \(\vec{a}\) on \(\vec{b}\) defined as. <br /></td></tr>
|
||||
<tr class="separator:a2ed4977f38642dca8b10c16a823c740b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5ee39e7c8fce8a604dcf7009ce101c02"><td class="memItemLeft" align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a5ee39e7c8fce8a604dcf7009ce101c02">vector_sub</a> (double *a, double *b, double *out, int <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memitem:a5ee39e7c8fce8a604dcf7009ce101c02" id="r_a5ee39e7c8fce8a604dcf7009ce101c02"><td class="memItemLeft" align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a5ee39e7c8fce8a604dcf7009ce101c02">vector_sub</a> (double *a, double *b, double *out, int <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memdesc:a5ee39e7c8fce8a604dcf7009ce101c02"><td class="mdescLeft"> </td><td class="mdescRight">Compute vector subtraction. <br /></td></tr>
|
||||
<tr class="separator:a5ee39e7c8fce8a604dcf7009ce101c02"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a45c7640d9d22c89c11beb1f567843c56"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a45c7640d9d22c89c11beb1f567843c56">qr_decompose</a> (double **A, double **Q, double **R, int M, int N)</td></tr>
|
||||
<tr class="memitem:a45c7640d9d22c89c11beb1f567843c56" id="r_a45c7640d9d22c89c11beb1f567843c56"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d68/qr__decompose_8h.html#a45c7640d9d22c89c11beb1f567843c56">qr_decompose</a> (double **A, double **Q, double **R, int M, int N)</td></tr>
|
||||
<tr class="memdesc:a45c7640d9d22c89c11beb1f567843c56"><td class="mdescLeft"> </td><td class="mdescRight">Decompose matrix \(A\) using <a href="https://en.wikipedia.org/wiki/QR_decomposition" target="_blank">Gram-Schmidt process</a>. <br /></td></tr>
|
||||
<tr class="separator:a45c7640d9d22c89c11beb1f567843c56"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -569,7 +569,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9c6faab82c22511b50177aa2e38e2780.html">numerical_methods</a></li><li class="navelem"><a class="el" href="../../d4/d68/qr__decompose_8h.html">qr_decompose.h</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: numerical_methods/qr_decompose.h Source File</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -58,6 +58,11 @@ $(function() {
|
|||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
|
@ -121,6 +126,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">/**</span></div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment"> * function to display matrix on stdout</span></div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment"> */</span></div>
|
||||
<div class="foldopen" id="foldopen00022" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="../../d4/d68/qr__decompose_8h.html#a90562ce8c3707401e9c5809dece68d6a"> 22</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d68/qr__decompose_8h.html#a90562ce8c3707401e9c5809dece68d6a">print_matrix</a>(<span class="keywordtype">double</span> **A, <span class="comment">/**< matrix to print */</span></div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keywordtype">int</span> M, <span class="comment">/**< number of rows of matrix */</span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">int</span> N) <span class="comment">/**< number of columns of matrix */</span></div>
|
||||
|
@ -132,6 +138,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> }</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> putchar(<span class="charliteral">'\n'</span>);</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="comment">/**</span></div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="comment"> * Compute dot product of two vectors of equal lengths</span></div>
|
||||
|
@ -142,6 +149,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment"> *</span></div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="comment"> * \returns \f$\vec{a}\cdot\vec{b}\f$</span></div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="comment"> */</span></div>
|
||||
<div class="foldopen" id="foldopen00043" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="../../d4/d68/qr__decompose_8h.html#a3a584b79941a43d775f9d4ce446dbe05"> 43</a></span><span class="keywordtype">double</span> <a class="code hl_function" href="../../d4/d68/qr__decompose_8h.html#a3a584b79941a43d775f9d4ce446dbe05">vector_dot</a>(<span class="keywordtype">double</span> *a, <span class="keywordtype">double</span> *b, <span class="keywordtype">int</span> <a class="code hl_struct" href="../../df/db3/struct_l.html">L</a>)</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span>{</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keywordtype">double</span> mag = 0.f;</div>
|
||||
|
@ -154,6 +162,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordflow">return</span> mag;</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="comment">/**</span></div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="comment"> * Compute magnitude of vector.</span></div>
|
||||
|
@ -163,11 +172,13 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="comment"> *</span></div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="comment"> * \returns \f$\left|\vec{a}\right|\f$</span></div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="comment"> */</span></div>
|
||||
<div class="foldopen" id="foldopen00064" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="../../d4/d68/qr__decompose_8h.html#abeec1f78a7a7e7251687e75340331212"> 64</a></span><span class="keywordtype">double</span> <a class="code hl_function" href="../../d4/d68/qr__decompose_8h.html#abeec1f78a7a7e7251687e75340331212">vector_mag</a>(<span class="keywordtype">double</span> *vector, <span class="keywordtype">int</span> <a class="code hl_struct" href="../../df/db3/struct_l.html">L</a>)</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span>{</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keywordtype">double</span> dot = <a class="code hl_function" href="../../d4/d68/qr__decompose_8h.html#a3a584b79941a43d775f9d4ce446dbe05">vector_dot</a>(vector, vector, <a class="code hl_struct" href="../../df/db3/struct_l.html">L</a>);</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordflow">return</span> sqrt(dot);</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="comment">/**</span></div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="comment"> * Compute projection of vector \f$\vec{a}\f$ on \f$\vec{b}\f$ defined as</span></div>
|
||||
|
@ -175,6 +186,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="comment"> *</span></div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="comment"> * \returns NULL if error, otherwise pointer to output</span></div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><span class="comment"> */</span></div>
|
||||
<div class="foldopen" id="foldopen00076" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="../../d4/d68/qr__decompose_8h.html#a2ed4977f38642dca8b10c16a823c740b"> 76</a></span><span class="keywordtype">double</span> *<a class="code hl_function" href="../../d4/d68/qr__decompose_8h.html#a2ed4977f38642dca8b10c16a823c740b">vector_proj</a>(<span class="keywordtype">double</span> *a, <span class="keywordtype">double</span> *b, <span class="keywordtype">double</span> *out, <span class="keywordtype">int</span> <a class="code hl_struct" href="../../df/db3/struct_l.html">L</a>)</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span>{</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">const</span> <span class="keywordtype">double</span> num = <a class="code hl_function" href="../../d4/d68/qr__decompose_8h.html#a3a584b79941a43d775f9d4ce446dbe05">vector_dot</a>(a, b, <a class="code hl_struct" href="../../df/db3/struct_l.html">L</a>);</div>
|
||||
|
@ -192,6 +204,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordflow">return</span> out;</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="comment">/**</span></div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="comment"> * Compute vector subtraction</span></div>
|
||||
|
@ -200,6 +213,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><span class="comment"> *</span></div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span><span class="comment"> * \returns pointer to output vector</span></div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="comment"> */</span></div>
|
||||
<div class="foldopen" id="foldopen00101" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="../../d4/d68/qr__decompose_8h.html#a5ee39e7c8fce8a604dcf7009ce101c02"> 101</a></span><span class="keywordtype">double</span> *<a class="code hl_function" href="../../d4/d68/qr__decompose_8h.html#a5ee39e7c8fce8a604dcf7009ce101c02">vector_sub</a>(<span class="keywordtype">double</span> *a, <span class="comment">/**< minuend */</span></div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="keywordtype">double</span> *b, <span class="comment">/**< subtrahend */</span></div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordtype">double</span> *out, <span class="comment">/**< resultant vector */</span></div>
|
||||
|
@ -215,6 +229,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keywordflow">return</span> out;</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span><span class="comment">/**</span></div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span><span class="comment"> * Decompose matrix \f$A\f$ using [Gram-Schmidt</span></div>
|
||||
|
@ -241,6 +256,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="comment"> * \end{bmatrix}\\</span></div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span><span class="comment"> * \f}</span></div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span><span class="comment"> */</span></div>
|
||||
<div class="foldopen" id="foldopen00142" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="../../d4/d68/qr__decompose_8h.html#a45c7640d9d22c89c11beb1f567843c56"> 142</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d68/qr__decompose_8h.html#a45c7640d9d22c89c11beb1f567843c56">qr_decompose</a>(<span class="keywordtype">double</span> **A, <span class="comment">/**< input matrix to decompose */</span></div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordtype">double</span> **Q, <span class="comment">/**< output decomposed matrix */</span></div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordtype">double</span> **R, <span class="comment">/**< output decomposed matrix */</span></div>
|
||||
|
@ -299,6 +315,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <a class="code hl_define" href="../../d2/ddd/malloc__dbg_8h.html#a9cc854374299a1dd933bf62029761768">free</a>(col_vector2);</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <a class="code hl_define" href="../../d2/ddd/malloc__dbg_8h.html#a9cc854374299a1dd933bf62029761768">free</a>(tmp_vector);</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> </div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><span class="preprocessor">#endif </span><span class="comment">// QR_DECOMPOSE_H</span></div>
|
||||
<div class="ttc" id="amalloc__dbg_8h_html_a725f50ecaf1959d96de79b36b4788fee"><div class="ttname"><a href="../../d2/ddd/malloc__dbg_8h.html#a725f50ecaf1959d96de79b36b4788fee">malloc</a></div><div class="ttdeci">#define malloc(bytes)</div><div class="ttdoc">This macro replace the standard malloc function with malloc_dbg.</div><div class="ttdef"><b>Definition</b> malloc_dbg.h:18</div></div>
|
||||
|
@ -316,7 +333,7 @@ $(document).ready(function(){initNavTree('d4/d68/qr__decompose_8h_source.html','
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9c6faab82c22511b50177aa2e38e2780.html">numerical_methods</a></li><li class="navelem"><a class="el" href="../../d4/d68/qr__decompose_8h.html">qr_decompose.h</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: 3D Dual-Quaternion operations</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -117,7 +117,7 @@ Data Structures</h2></td></tr>
|
|||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:ga27005601c47e5bb7aafe77659e76c88f"><td class="memItemLeft" align="right" valign="top"><a id="ga27005601c47e5bb7aafe77659e76c88f" name="ga27005601c47e5bb7aafe77659e76c88f"></a>
|
||||
<tr class="memitem:ga27005601c47e5bb7aafe77659e76c88f" id="r_ga27005601c47e5bb7aafe77659e76c88f"><td class="memItemLeft" align="right" valign="top"><a id="ga27005601c47e5bb7aafe77659e76c88f" name="ga27005601c47e5bb7aafe77659e76c88f"></a>
|
||||
typedef struct <a class="el" href="../../d7/dfd/structdual__quat__.html">dual_quat_</a> </td><td class="memItemRight" valign="bottom"><b>dual_quat</b></td></tr>
|
||||
<tr class="memdesc:ga27005601c47e5bb7aafe77659e76c88f"><td class="mdescLeft"> </td><td class="mdescRight">a dual quaternion type <br /></td></tr>
|
||||
<tr class="separator:ga27005601c47e5bb7aafe77659e76c88f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -128,7 +128,7 @@ typedef struct <a class="el" href="../../d7/dfd/structdual__quat__.html">dual_qu
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: MEMORY_INFORMATION Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -113,31 +113,31 @@ Collaboration diagram for MEMORY_INFORMATION:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a6b0971c1415de6e0123b8d0d0a626fde"><td class="memItemLeft" align="right" valign="top"><a id="a6b0971c1415de6e0123b8d0d0a626fde" name="a6b0971c1415de6e0123b8d0d0a626fde"></a>
|
||||
<tr class="memitem:a6b0971c1415de6e0123b8d0d0a626fde" id="r_a6b0971c1415de6e0123b8d0d0a626fde"><td class="memItemLeft" align="right" valign="top"><a id="a6b0971c1415de6e0123b8d0d0a626fde" name="a6b0971c1415de6e0123b8d0d0a626fde"></a>
|
||||
void * </td><td class="memItemRight" valign="bottom"><b>ptr</b></td></tr>
|
||||
<tr class="memdesc:a6b0971c1415de6e0123b8d0d0a626fde"><td class="mdescLeft"> </td><td class="mdescRight">Pointer returned by malloc / calloc. <br /></td></tr>
|
||||
<tr class="separator:a6b0971c1415de6e0123b8d0d0a626fde"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a934ad84d159c35b24ff54f7eceb1c6be"><td class="memItemLeft" align="right" valign="top"><a id="a934ad84d159c35b24ff54f7eceb1c6be" name="a934ad84d159c35b24ff54f7eceb1c6be"></a>
|
||||
<tr class="memitem:a934ad84d159c35b24ff54f7eceb1c6be" id="r_a934ad84d159c35b24ff54f7eceb1c6be"><td class="memItemLeft" align="right" valign="top"><a id="a934ad84d159c35b24ff54f7eceb1c6be" name="a934ad84d159c35b24ff54f7eceb1c6be"></a>
|
||||
const char * </td><td class="memItemRight" valign="bottom"><b>fileName</b></td></tr>
|
||||
<tr class="memdesc:a934ad84d159c35b24ff54f7eceb1c6be"><td class="mdescLeft"> </td><td class="mdescRight">File in which malloc or calloc has been called. <br /></td></tr>
|
||||
<tr class="separator:a934ad84d159c35b24ff54f7eceb1c6be"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1f13725b3de5ca6ab99b238b712cb417"><td class="memItemLeft" align="right" valign="top"><a id="a1f13725b3de5ca6ab99b238b712cb417" name="a1f13725b3de5ca6ab99b238b712cb417"></a>
|
||||
<tr class="memitem:a1f13725b3de5ca6ab99b238b712cb417" id="r_a1f13725b3de5ca6ab99b238b712cb417"><td class="memItemLeft" align="right" valign="top"><a id="a1f13725b3de5ca6ab99b238b712cb417" name="a1f13725b3de5ca6ab99b238b712cb417"></a>
|
||||
const char * </td><td class="memItemRight" valign="bottom"><b>functionName</b></td></tr>
|
||||
<tr class="memdesc:a1f13725b3de5ca6ab99b238b712cb417"><td class="mdescLeft"> </td><td class="mdescRight">Function in which malloc or calloc has been called. <br /></td></tr>
|
||||
<tr class="separator:a1f13725b3de5ca6ab99b238b712cb417"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7f42967fd6562d77ac03445ea6e36a3d"><td class="memItemLeft" align="right" valign="top"><a id="a7f42967fd6562d77ac03445ea6e36a3d" name="a7f42967fd6562d77ac03445ea6e36a3d"></a>
|
||||
<tr class="memitem:a7f42967fd6562d77ac03445ea6e36a3d" id="r_a7f42967fd6562d77ac03445ea6e36a3d"><td class="memItemLeft" align="right" valign="top"><a id="a7f42967fd6562d77ac03445ea6e36a3d" name="a7f42967fd6562d77ac03445ea6e36a3d"></a>
|
||||
size_t </td><td class="memItemRight" valign="bottom"><b>bytes</b></td></tr>
|
||||
<tr class="memdesc:a7f42967fd6562d77ac03445ea6e36a3d"><td class="mdescLeft"> </td><td class="mdescRight">Number of bytes allocated. <br /></td></tr>
|
||||
<tr class="separator:a7f42967fd6562d77ac03445ea6e36a3d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a731603550d2238abb179f2b572f20d99"><td class="memItemLeft" align="right" valign="top"><a id="a731603550d2238abb179f2b572f20d99" name="a731603550d2238abb179f2b572f20d99"></a>
|
||||
<tr class="memitem:a731603550d2238abb179f2b572f20d99" id="r_a731603550d2238abb179f2b572f20d99"><td class="memItemLeft" align="right" valign="top"><a id="a731603550d2238abb179f2b572f20d99" name="a731603550d2238abb179f2b572f20d99"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>line</b></td></tr>
|
||||
<tr class="memdesc:a731603550d2238abb179f2b572f20d99"><td class="mdescLeft"> </td><td class="mdescRight">Line number (in file) corresponding to the malloc / calloc call. <br /></td></tr>
|
||||
<tr class="separator:a731603550d2238abb179f2b572f20d99"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa296b903d0e2ac54acaa7c305bae8007"><td class="memItemLeft" align="right" valign="top"><a id="aa296b903d0e2ac54acaa7c305bae8007" name="aa296b903d0e2ac54acaa7c305bae8007"></a>
|
||||
<tr class="memitem:aa296b903d0e2ac54acaa7c305bae8007" id="r_aa296b903d0e2ac54acaa7c305bae8007"><td class="memItemLeft" align="right" valign="top"><a id="aa296b903d0e2ac54acaa7c305bae8007" name="aa296b903d0e2ac54acaa7c305bae8007"></a>
|
||||
struct <a class="el" href="../../d4/d73/struct_m_e_m_o_r_y___i_n_f_o_r_m_a_t_i_o_n.html">MEMORY_INFORMATION</a> * </td><td class="memItemRight" valign="bottom"><b>next</b></td></tr>
|
||||
<tr class="memdesc:aa296b903d0e2ac54acaa7c305bae8007"><td class="mdescLeft"> </td><td class="mdescRight">Next element in the list. <br /></td></tr>
|
||||
<tr class="separator:aa296b903d0e2ac54acaa7c305bae8007"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1cec46413acf776e3ee2b0b9241490c3"><td class="memItemLeft" align="right" valign="top"><a id="a1cec46413acf776e3ee2b0b9241490c3" name="a1cec46413acf776e3ee2b0b9241490c3"></a>
|
||||
<tr class="memitem:a1cec46413acf776e3ee2b0b9241490c3" id="r_a1cec46413acf776e3ee2b0b9241490c3"><td class="memItemLeft" align="right" valign="top"><a id="a1cec46413acf776e3ee2b0b9241490c3" name="a1cec46413acf776e3ee2b0b9241490c3"></a>
|
||||
struct <a class="el" href="../../d4/d73/struct_m_e_m_o_r_y___i_n_f_o_r_m_a_t_i_o_n.html">MEMORY_INFORMATION</a> * </td><td class="memItemRight" valign="bottom"><b>previous</b></td></tr>
|
||||
<tr class="memdesc:a1cec46413acf776e3ee2b0b9241490c3"><td class="mdescLeft"> </td><td class="mdescRight">Previous element in the list. <br /></td></tr>
|
||||
<tr class="separator:a1cec46413acf776e3ee2b0b9241490c3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -155,7 +155,7 @@ struct <a class="el" href="../../d4/d73/struct_m_e_m_o_r_y___i_n_f_o_r_m_a_t_i_o
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/d73/struct_m_e_m_o_r_y___i_n_f_o_r_m_a_t_i_o_n.html">MEMORY_INFORMATION</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -0,0 +1,433 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: client_server/fork.h Source File</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Algorithms_in_C<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('d4/d7a/fork_8h_source.html','../../'); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">fork.h</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
|
||||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab</span></div>
|
||||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Copyright (C) DIGITEO - 2010 - Allan CORNET</span></div>
|
||||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> *</span></div>
|
||||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * Copyright (C) 2012 - 2016 - Scilab Enterprises</span></div>
|
||||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> *</span></div>
|
||||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> * This file is hereby licensed under the terms of the GNU GPL v2.0,</span></div>
|
||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> * pursuant to article 5.3.4 of the CeCILL v.2.1.</span></div>
|
||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> * This file was originally licensed under the terms of the CeCILL v2.1,</span></div>
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> * and continues to be available under such terms.</span></div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> * For more information, see the COPYING file which you should have received</span></div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> * along with this program.</span></div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> *</span></div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> */</span></div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#ifndef __FORK_H__</span></div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#define __FORK_H__</span></div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">/* http://technet.microsoft.com/en-us/library/bb497007.aspx */</span></div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment">/* http://undocumented.ntinternals.net/ */</span></div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include <setjmp.h></span></div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include <windows.h></span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include "bool.h"</span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment">/**</span></div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment"> * simulate fork on Windows</span></div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="comment"> */</span></div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keywordtype">int</span> fork(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="comment"></span> </div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="comment">/**</span></div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment"> * check if symbols to simulate fork are present</span></div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="comment"> * and load these symbols</span></div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="comment"> */</span></div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>BOOL haveLoadedFunctionsForFork(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keyword">typedef</span> LONG NTSTATUS;</div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="foldopen" id="foldopen00041" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="../../d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html"> 41</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html">_SYSTEM_HANDLE_INFORMATION</a></div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>{</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> ULONG ProcessId;</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> UCHAR ObjectTypeNumber;</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> UCHAR Flags;</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> USHORT Handle;</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> PVOID Object;</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> ACCESS_MASK GrantedAccess;</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span>} <a class="code hl_struct" href="../../d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html">SYSTEM_HANDLE_INFORMATION</a>, *<a class="code hl_struct" href="../../d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html">PSYSTEM_HANDLE_INFORMATION</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="foldopen" id="foldopen00051" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="../../db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html"> 51</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html">_OBJECT_ATTRIBUTES</a></div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span>{</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> ULONG Length;</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> HANDLE RootDirectory;</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> PVOID <span class="comment">/* really PUNICODE_STRING */</span> ObjectName;</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> ULONG Attributes;</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> PVOID SecurityDescriptor; <span class="comment">/* type SECURITY_DESCRIPTOR */</span></div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> PVOID SecurityQualityOfService; <span class="comment">/* type SECURITY_QUALITY_OF_SERVICE */</span></div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span>} <a class="code hl_struct" href="../../db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html">OBJECT_ATTRIBUTES</a>, *<a class="code hl_struct" href="../../db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html">POBJECT_ATTRIBUTES</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="keyword">typedef</span> <span class="keyword">enum</span> _MEMORY_INFORMATION_</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>{</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> MemoryBasicInformation,</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> MemoryWorkingSetList,</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> MemorySectionName,</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> MemoryBasicVlmInformation</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span>} MEMORY_INFORMATION_CLASS;</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="foldopen" id="foldopen00069" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="../../d5/d18/struct___c_l_i_e_n_t___i_d.html"> 69</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d5/d18/struct___c_l_i_e_n_t___i_d.html">_CLIENT_ID</a></div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span>{</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> HANDLE UniqueProcess;</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> HANDLE UniqueThread;</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span>} <a class="code hl_struct" href="../../d5/d18/struct___c_l_i_e_n_t___i_d.html">CLIENT_ID</a>, *<a class="code hl_struct" href="../../d5/d18/struct___c_l_i_e_n_t___i_d.html">PCLIENT_ID</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="foldopen" id="foldopen00075" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../dd/d03/struct___u_s_e_r___s_t_a_c_k.html"> 75</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../dd/d03/struct___u_s_e_r___s_t_a_c_k.html">_USER_STACK</a></div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span>{</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> PVOID FixedStackBase;</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> PVOID FixedStackLimit;</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> PVOID ExpandableStackBase;</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> PVOID ExpandableStackLimit;</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> PVOID ExpandableStackBottom;</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span>} <a class="code hl_struct" href="../../dd/d03/struct___u_s_e_r___s_t_a_c_k.html">USER_STACK</a>, *<a class="code hl_struct" href="../../dd/d03/struct___u_s_e_r___s_t_a_c_k.html">PUSER_STACK</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="keyword">typedef</span> LONG KPRIORITY;</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="keyword">typedef</span> ULONG_PTR KAFFINITY;</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span><span class="keyword">typedef</span> KAFFINITY *PKAFFINITY;</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="foldopen" id="foldopen00088" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="../../df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html"> 88</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html">_THREAD_BASIC_INFORMATION</a></div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span>{</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> NTSTATUS ExitStatus;</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> PVOID TebBaseAddress;</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <a class="code hl_struct" href="../../d5/d18/struct___c_l_i_e_n_t___i_d.html">CLIENT_ID</a> ClientId;</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> KAFFINITY AffinityMask;</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> KPRIORITY Priority;</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> KPRIORITY BasePriority;</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span>} <a class="code hl_struct" href="../../df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html">THREAD_BASIC_INFORMATION</a>, *<a class="code hl_struct" href="../../df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html">PTHREAD_BASIC_INFORMATION</a>;</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><span class="keyword">typedef</span> <span class="keyword">enum</span> _SYSTEM_INFORMATION_CLASS</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span>{</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> SystemHandleInformation = 0x10</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span>} SYSTEM_INFORMATION_CLASS;</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span><span class="keyword">typedef</span> NTSTATUS(NTAPI *ZwWriteVirtualMemory_t)(</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> IN HANDLE ProcessHandle, IN PVOID BaseAddress, IN PVOID <a class="code hl_typedef" href="../../d9/deb/min__printf_8h.html#abf0876f583782407c9e15c60158eec52">Buffer</a>,</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> IN ULONG NumberOfBytesToWrite, OUT PULONG NumberOfBytesWritten OPTIONAL);</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="keyword">typedef</span> NTSTATUS(NTAPI *ZwCreateProcess_t)(</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> OUT PHANDLE ProcessHandle, IN ACCESS_MASK DesiredAccess,</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> IN <a class="code hl_struct" href="../../db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html">POBJECT_ATTRIBUTES</a> ObjectAttributes, IN HANDLE InheriteFromProcessHandle,</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> IN BOOLEAN InheritHandles, IN HANDLE SectionHandle OPTIONAL,</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> IN HANDLE DebugPort OPTIONAL, IN HANDLE ExceptionPort OPTIONAL);</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span><span class="keyword">typedef</span> NTSTATUS(WINAPI *ZwQuerySystemInformation_t)(</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> SYSTEM_INFORMATION_CLASS SystemInformationClass, PVOID SystemInformation,</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> ULONG SystemInformationLength, PULONG ReturnLength);</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="keyword">typedef</span> NTSTATUS(NTAPI *ZwQueryVirtualMemory_t)(</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> IN HANDLE ProcessHandle, IN PVOID BaseAddress,</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> IN MEMORY_INFORMATION_CLASS MemoryInformationClass,</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> OUT PVOID MemoryInformation, IN ULONG MemoryInformationLength,</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> OUT PULONG ReturnLength OPTIONAL);</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span><span class="keyword">typedef</span> NTSTATUS(NTAPI *ZwGetContextThread_t)(IN HANDLE ThreadHandle,</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> OUT PCONTEXT Context);</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span><span class="keyword">typedef</span> NTSTATUS(NTAPI *ZwCreateThread_t)(</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> OUT PHANDLE ThreadHandle, IN ACCESS_MASK DesiredAccess,</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> IN <a class="code hl_struct" href="../../db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html">POBJECT_ATTRIBUTES</a> ObjectAttributes, IN HANDLE ProcessHandle,</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> OUT <a class="code hl_struct" href="../../d5/d18/struct___c_l_i_e_n_t___i_d.html">PCLIENT_ID</a> ClientId, IN PCONTEXT ThreadContext,</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> IN <a class="code hl_struct" href="../../dd/d03/struct___u_s_e_r___s_t_a_c_k.html">PUSER_STACK</a> UserStack, IN BOOLEAN CreateSuspended);</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="keyword">typedef</span> NTSTATUS(NTAPI *ZwResumeThread_t)(IN HANDLE ThreadHandle,</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> OUT PULONG SuspendCount OPTIONAL);</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span><span class="keyword">typedef</span> NTSTATUS(NTAPI *ZwClose_t)(IN HANDLE ObjectHandle);</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span><span class="keyword">typedef</span> NTSTATUS(NTAPI *ZwQueryInformationThread_t)(</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> IN HANDLE ThreadHandle, IN THREAD_INFORMATION_CLASS ThreadInformationClass,</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> OUT PVOID ThreadInformation, IN ULONG ThreadInformationLength,</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> OUT PULONG ReturnLength OPTIONAL);</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span><span class="keyword">static</span> ZwCreateProcess_t ZwCreateProcess = NULL;</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="keyword">static</span> ZwQuerySystemInformation_t ZwQuerySystemInformation = NULL;</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span><span class="keyword">static</span> ZwQueryVirtualMemory_t ZwQueryVirtualMemory = NULL;</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span><span class="keyword">static</span> ZwCreateThread_t ZwCreateThread = NULL;</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span><span class="keyword">static</span> ZwGetContextThread_t ZwGetContextThread = NULL;</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span><span class="keyword">static</span> ZwResumeThread_t ZwResumeThread = NULL;</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span><span class="keyword">static</span> ZwClose_t ZwClose = NULL;</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span><span class="keyword">static</span> ZwQueryInformationThread_t ZwQueryInformationThread = NULL;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span><span class="keyword">static</span> ZwWriteVirtualMemory_t ZwWriteVirtualMemory = NULL;</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span><span class="preprocessor">#define NtCurrentProcess() ((HANDLE)-1)</span></div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span><span class="preprocessor">#define NtCurrentThread() ((HANDLE)-2)</span></div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span><span class="comment">/* we use really the Nt versions - so the following is just for completeness */</span></div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span><span class="preprocessor">#define ZwCurrentProcess() NtCurrentProcess()</span></div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span><span class="preprocessor">#define ZwCurrentThread() NtCurrentThread()</span></div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span><span class="preprocessor">#define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L)</span></div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span><span class="preprocessor">#define STATUS_SUCCESS ((NTSTATUS)0x00000000L)</span></div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span><span class="comment">/* setjmp env for the jump back into the fork() function */</span></div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span><span class="keyword">static</span> jmp_buf jenv;</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span><span class="comment">/* entry point for our child thread process - just longjmp into fork */</span></div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span><span class="keyword">static</span> <span class="keywordtype">int</span> child_entry(<span class="keywordtype">void</span>)</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span>{</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> longjmp(jenv, 1);</div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span>}</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span><span class="keyword">static</span> BOOL haveLoadedFunctionsForFork(<span class="keywordtype">void</span>)</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span>{</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> HMODULE ntdll = GetModuleHandle(<span class="stringliteral">"ntdll"</span>);</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keywordflow">if</span> (ntdll == NULL)</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> {</div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keywordflow">return</span> FALSE;</div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> }</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordflow">if</span> (ZwCreateProcess && ZwQuerySystemInformation && ZwQueryVirtualMemory &&</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> ZwCreateThread && ZwGetContextThread && ZwResumeThread &&</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> ZwQueryInformationThread && ZwWriteVirtualMemory && ZwClose)</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> {</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <span class="keywordflow">return</span> TRUE;</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> }</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> </div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> ZwCreateProcess =</div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> (ZwCreateProcess_t)GetProcAddress(ntdll, <span class="stringliteral">"ZwCreateProcess"</span>);</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> ZwQuerySystemInformation = (ZwQuerySystemInformation_t)GetProcAddress(</div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> ntdll, <span class="stringliteral">"ZwQuerySystemInformation"</span>);</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> ZwQueryVirtualMemory =</div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> (ZwQueryVirtualMemory_t)GetProcAddress(ntdll, <span class="stringliteral">"ZwQueryVirtualMemory"</span>);</div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> ZwCreateThread = (ZwCreateThread_t)GetProcAddress(ntdll, <span class="stringliteral">"ZwCreateThread"</span>);</div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> ZwGetContextThread =</div>
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> (ZwGetContextThread_t)GetProcAddress(ntdll, <span class="stringliteral">"ZwGetContextThread"</span>);</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> ZwResumeThread = (ZwResumeThread_t)GetProcAddress(ntdll, <span class="stringliteral">"ZwResumeThread"</span>);</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> ZwQueryInformationThread = (ZwQueryInformationThread_t)GetProcAddress(</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> ntdll, <span class="stringliteral">"ZwQueryInformationThread"</span>);</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> ZwWriteVirtualMemory =</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> (ZwWriteVirtualMemory_t)GetProcAddress(ntdll, <span class="stringliteral">"ZwWriteVirtualMemory"</span>);</div>
|
||||
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> ZwClose = (ZwClose_t)GetProcAddress(ntdll, <span class="stringliteral">"ZwClose"</span>);</div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordflow">if</span> (ZwCreateProcess && ZwQuerySystemInformation && ZwQueryVirtualMemory &&</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> ZwCreateThread && ZwGetContextThread && ZwResumeThread &&</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> ZwQueryInformationThread && ZwWriteVirtualMemory && ZwClose)</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> {</div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <span class="keywordflow">return</span> TRUE;</div>
|
||||
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> }</div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> {</div>
|
||||
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> ZwCreateProcess = NULL;</div>
|
||||
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> ZwQuerySystemInformation = NULL;</div>
|
||||
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> ZwQueryVirtualMemory = NULL;</div>
|
||||
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> ZwCreateThread = NULL;</div>
|
||||
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> ZwGetContextThread = NULL;</div>
|
||||
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> ZwResumeThread = NULL;</div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> ZwQueryInformationThread = NULL;</div>
|
||||
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> ZwWriteVirtualMemory = NULL;</div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> ZwClose = NULL;</div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> }</div>
|
||||
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> <span class="keywordflow">return</span> FALSE;</div>
|
||||
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span>}</div>
|
||||
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span><span class="keywordtype">int</span> fork(<span class="keywordtype">void</span>)</div>
|
||||
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span>{</div>
|
||||
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> HANDLE hProcess = 0, hThread = 0;</div>
|
||||
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <a class="code hl_struct" href="../../db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html">OBJECT_ATTRIBUTES</a> oa = {<span class="keyword">sizeof</span>(oa)};</div>
|
||||
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> MEMORY_BASIC_INFORMATION mbi;</div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <a class="code hl_struct" href="../../d5/d18/struct___c_l_i_e_n_t___i_d.html">CLIENT_ID</a> cid;</div>
|
||||
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <a class="code hl_struct" href="../../dd/d03/struct___u_s_e_r___s_t_a_c_k.html">USER_STACK</a> <a class="code hl_struct" href="../../d4/d11/structstack.html">stack</a>;</div>
|
||||
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> PNT_TIB tib;</div>
|
||||
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <a class="code hl_struct" href="../../df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html">THREAD_BASIC_INFORMATION</a> tbi;</div>
|
||||
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
|
||||
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> CONTEXT context = {CONTEXT_FULL | CONTEXT_DEBUG_REGISTERS |</div>
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> CONTEXT_FLOATING_POINT};</div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="keywordflow">if</span> (setjmp(jenv) != 0)</div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> {</div>
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> <span class="keywordflow">return</span> 0; <span class="comment">/* return as a child */</span></div>
|
||||
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> }</div>
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
|
||||
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> <span class="comment">/* check whether the entry points are initilized and get them if necessary</span></div>
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span><span class="comment"> */</span></div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <span class="keywordflow">if</span> (!ZwCreateProcess && !haveLoadedFunctionsForFork())</div>
|
||||
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> {</div>
|
||||
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> <span class="keywordflow">return</span> -1;</div>
|
||||
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> }</div>
|
||||
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> </div>
|
||||
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="comment">/* create forked process */</span></div>
|
||||
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> ZwCreateProcess(&hProcess, PROCESS_ALL_ACCESS, &oa, NtCurrentProcess(),</div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> TRUE, 0, 0, 0);</div>
|
||||
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> </div>
|
||||
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> <span class="comment">/* set the Eip for the child process to our child function */</span></div>
|
||||
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> ZwGetContextThread(NtCurrentThread(), &context);</div>
|
||||
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> </div>
|
||||
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> <span class="comment">/* In x64 the Eip and Esp are not present, their x64 counterparts are Rip</span></div>
|
||||
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span><span class="comment"> and Rsp respectively.</span></div>
|
||||
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><span class="comment"> */</span></div>
|
||||
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span><span class="preprocessor">#if _WIN64</span></div>
|
||||
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> context.Rip = (ULONG)child_entry;</div>
|
||||
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> context.Eip = (ULONG)child_entry;</div>
|
||||
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> </div>
|
||||
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span><span class="preprocessor">#if _WIN64</span></div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> ZwQueryVirtualMemory(NtCurrentProcess(), (PVOID)context.Rsp,</div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> MemoryBasicInformation, &mbi, <span class="keyword">sizeof</span> mbi, 0);</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> ZwQueryVirtualMemory(NtCurrentProcess(), (PVOID)context.Esp,</div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> MemoryBasicInformation, &mbi, <span class="keyword">sizeof</span> mbi, 0);</div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> </div>
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> <a class="code hl_struct" href="../../d4/d11/structstack.html">stack</a>.FixedStackBase = 0;</div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> <a class="code hl_struct" href="../../d4/d11/structstack.html">stack</a>.FixedStackLimit = 0;</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <a class="code hl_struct" href="../../d4/d11/structstack.html">stack</a>.ExpandableStackBase = (PCHAR)mbi.BaseAddress + mbi.RegionSize;</div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <a class="code hl_struct" href="../../d4/d11/structstack.html">stack</a>.ExpandableStackLimit = mbi.BaseAddress;</div>
|
||||
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> <a class="code hl_struct" href="../../d4/d11/structstack.html">stack</a>.ExpandableStackBottom = mbi.AllocationBase;</div>
|
||||
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> </div>
|
||||
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> <span class="comment">/* create thread using the modified context and stack */</span></div>
|
||||
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> ZwCreateThread(&hThread, THREAD_ALL_ACCESS, &oa, hProcess, &cid, &context,</div>
|
||||
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> &<a class="code hl_struct" href="../../d4/d11/structstack.html">stack</a>, TRUE);</div>
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <span class="comment">/* copy exception table */</span></div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> ZwQueryInformationThread(NtCurrentThread(), ThreadMemoryPriority, &tbi,</div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <span class="keyword">sizeof</span> tbi, 0);</div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> tib = (PNT_TIB)tbi.TebBaseAddress;</div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> ZwQueryInformationThread(hThread, ThreadMemoryPriority, &tbi, <span class="keyword">sizeof</span> tbi,</div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> 0);</div>
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> ZwWriteVirtualMemory(hProcess, tbi.TebBaseAddress, &tib->ExceptionList,</div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> <span class="keyword">sizeof</span> tib->ExceptionList, 0);</div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> </div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="comment">/* start (resume really) the child */</span></div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> ZwResumeThread(hThread, 0);</div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> </div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <span class="comment">/* clean up */</span></div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> ZwClose(hThread);</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> ZwClose(hProcess);</div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> </div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="comment">/* exit with child's pid */</span></div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">return</span> (<span class="keywordtype">int</span>)cid.UniqueProcess;</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span>}</div>
|
||||
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> </div>
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span><span class="preprocessor">#endif </span><span class="comment">/* __FORK_H__ */</span><span class="preprocessor"></span></div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span><span class="comment">/*--------------------------------------------------------------------------*/</span></div>
|
||||
<div class="ttc" id="amin__printf_8h_html_abf0876f583782407c9e15c60158eec52"><div class="ttname"><a href="../../d9/deb/min__printf_8h.html#abf0876f583782407c9e15c60158eec52">Buffer</a></div><div class="ttdeci">struct buffer Buffer</div><div class="ttdoc">struct used to store character in certain times</div></div>
|
||||
<div class="ttc" id="astruct___c_l_i_e_n_t___i_d_html"><div class="ttname"><a href="../../d5/d18/struct___c_l_i_e_n_t___i_d.html">_CLIENT_ID</a></div><div class="ttdef"><b>Definition</b> fork.h:70</div></div>
|
||||
<div class="ttc" id="astruct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s_html"><div class="ttname"><a href="../../db/d03/struct___o_b_j_e_c_t___a_t_t_r_i_b_u_t_e_s.html">_OBJECT_ATTRIBUTES</a></div><div class="ttdef"><b>Definition</b> fork.h:52</div></div>
|
||||
<div class="ttc" id="astruct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n_html"><div class="ttname"><a href="../../d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html">_SYSTEM_HANDLE_INFORMATION</a></div><div class="ttdef"><b>Definition</b> fork.h:42</div></div>
|
||||
<div class="ttc" id="astruct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n_html"><div class="ttname"><a href="../../df/dfd/struct___t_h_r_e_a_d___b_a_s_i_c___i_n_f_o_r_m_a_t_i_o_n.html">_THREAD_BASIC_INFORMATION</a></div><div class="ttdef"><b>Definition</b> fork.h:89</div></div>
|
||||
<div class="ttc" id="astruct___u_s_e_r___s_t_a_c_k_html"><div class="ttname"><a href="../../dd/d03/struct___u_s_e_r___s_t_a_c_k.html">_USER_STACK</a></div><div class="ttdef"><b>Definition</b> fork.h:76</div></div>
|
||||
<div class="ttc" id="astructstack_html"><div class="ttname"><a href="../../d4/d11/structstack.html">stack</a></div><div class="ttdef"><b>Definition</b> 901.c:6</div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_d20ad0b8de644c123692ba5582cc7a7b.html">client_server</a></li><li class="navelem"><b>fork.h</b></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_6/sol.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -114,7 +114,7 @@ Include dependency graph for sol.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d7b/problem__6_2sol_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe" id="r_a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d7b/problem__6_2sol_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
|
||||
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -158,7 +158,7 @@ Functions</h2></td></tr>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_167af11096b7752ff31b3d4bec489317.html">problem_6</a></li><li class="navelem"><a class="el" href="../../d4/d7b/problem__6_2sol_8c.html">sol.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_401/sol1.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -119,33 +119,33 @@ Include dependency graph for sol1.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:aacbb9e1f38be71e22df1584a37c56693"><td class="memItemLeft" align="right" valign="top"><a id="aacbb9e1f38be71e22df1584a37c56693" name="aacbb9e1f38be71e22df1584a37c56693"></a>
|
||||
<tr class="memitem:aacbb9e1f38be71e22df1584a37c56693" id="r_aacbb9e1f38be71e22df1584a37c56693"><td class="memItemLeft" align="right" valign="top"><a id="aacbb9e1f38be71e22df1584a37c56693" name="aacbb9e1f38be71e22df1584a37c56693"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>__STDC_FORMAT_MACROS</b></td></tr>
|
||||
<tr class="separator:aacbb9e1f38be71e22df1584a37c56693"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ade1bdf2529e3c58f53bfb4d844f3a9d3"><td class="memItemLeft" align="right" valign="top"><a id="ade1bdf2529e3c58f53bfb4d844f3a9d3" name="ade1bdf2529e3c58f53bfb4d844f3a9d3"></a>
|
||||
<tr class="memitem:ade1bdf2529e3c58f53bfb4d844f3a9d3" id="r_ade1bdf2529e3c58f53bfb4d844f3a9d3"><td class="memItemLeft" align="right" valign="top"><a id="ade1bdf2529e3c58f53bfb4d844f3a9d3" name="ade1bdf2529e3c58f53bfb4d844f3a9d3"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>MOD_LIMIT</b>   (uint64_t)1e9</td></tr>
|
||||
<tr class="memdesc:ade1bdf2529e3c58f53bfb4d844f3a9d3"><td class="mdescLeft"> </td><td class="mdescRight">modulo limit <br /></td></tr>
|
||||
<tr class="separator:ade1bdf2529e3c58f53bfb4d844f3a9d3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a9a231e30b47bc0345749c8bd1e5077"><td class="memItemLeft" align="right" valign="top"><a id="a7a9a231e30b47bc0345749c8bd1e5077" name="a7a9a231e30b47bc0345749c8bd1e5077"></a>
|
||||
<tr class="memitem:a7a9a231e30b47bc0345749c8bd1e5077" id="r_a7a9a231e30b47bc0345749c8bd1e5077"><td class="memItemLeft" align="right" valign="top"><a id="a7a9a231e30b47bc0345749c8bd1e5077" name="a7a9a231e30b47bc0345749c8bd1e5077"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>MAX_LENGTH</b>   5000</td></tr>
|
||||
<tr class="memdesc:a7a9a231e30b47bc0345749c8bd1e5077"><td class="mdescLeft"> </td><td class="mdescRight">chunk size of array allocation <br /></td></tr>
|
||||
<tr class="separator:a7a9a231e30b47bc0345749c8bd1e5077"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a4441a6d27134cf3aed05727800d99456"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#a4441a6d27134cf3aed05727800d99456">is_in</a> (uint64_t N, uint64_t *D, uint64_t <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memitem:a4441a6d27134cf3aed05727800d99456" id="r_a4441a6d27134cf3aed05727800d99456"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#a4441a6d27134cf3aed05727800d99456">is_in</a> (uint64_t N, uint64_t *D, uint64_t <a class="el" href="../../df/db3/struct_l.html">L</a>)</td></tr>
|
||||
<tr class="memdesc:a4441a6d27134cf3aed05727800d99456"><td class="mdescLeft"> </td><td class="mdescRight">Check if a number is present in given array. <br /></td></tr>
|
||||
<tr class="separator:a4441a6d27134cf3aed05727800d99456"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7380e14d595d560007b02ce516b6b215"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#a7380e14d595d560007b02ce516b6b215">get_divisors</a> (uint64_t N, uint64_t *D)</td></tr>
|
||||
<tr class="memitem:a7380e14d595d560007b02ce516b6b215" id="r_a7380e14d595d560007b02ce516b6b215"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#a7380e14d595d560007b02ce516b6b215">get_divisors</a> (uint64_t N, uint64_t *D)</td></tr>
|
||||
<tr class="memdesc:a7380e14d595d560007b02ce516b6b215"><td class="mdescLeft"> </td><td class="mdescRight">Get all integer divisors of a number. <br /></td></tr>
|
||||
<tr class="separator:a7380e14d595d560007b02ce516b6b215"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a236548478af932f1115a71f601a68788"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#a236548478af932f1115a71f601a68788">sigma2</a> (uint64_t N)</td></tr>
|
||||
<tr class="memitem:a236548478af932f1115a71f601a68788" id="r_a236548478af932f1115a71f601a68788"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#a236548478af932f1115a71f601a68788">sigma2</a> (uint64_t N)</td></tr>
|
||||
<tr class="memdesc:a236548478af932f1115a71f601a68788"><td class="mdescLeft"> </td><td class="mdescRight">compute sum of squares of all integer factors of a number <br /></td></tr>
|
||||
<tr class="separator:a236548478af932f1115a71f601a68788"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaf964739be92adc2f500e7da11e3f6be"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#aaf964739be92adc2f500e7da11e3f6be">sigma</a> (uint64_t N)</td></tr>
|
||||
<tr class="memitem:aaf964739be92adc2f500e7da11e3f6be" id="r_aaf964739be92adc2f500e7da11e3f6be"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#aaf964739be92adc2f500e7da11e3f6be">sigma</a> (uint64_t N)</td></tr>
|
||||
<tr class="memdesc:aaf964739be92adc2f500e7da11e3f6be"><td class="mdescLeft"> </td><td class="mdescRight">sum of squares of factors of numbers from 1 thru N <br /></td></tr>
|
||||
<tr class="separator:aaf964739be92adc2f500e7da11e3f6be"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627" id="r_a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memdesc:a3c04138a5bfe5d72780bb7e82a18e627"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -453,7 +453,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_2f070f19f76dfadabbc24fe483d7e98d.html">problem_401</a></li><li class="navelem"><a class="el" href="../../d4/d83/problem__401_2sol1_8c.html">sol1.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: NFAState Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -113,11 +113,11 @@ Collaboration diagram for NFAState:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:aab70804a0b5849410e61f51a225d3072"><td class="memItemLeft" align="right" valign="top"><a id="aab70804a0b5849410e61f51a225d3072" name="aab70804a0b5849410e61f51a225d3072"></a>
|
||||
<tr class="memitem:aab70804a0b5849410e61f51a225d3072" id="r_aab70804a0b5849410e61f51a225d3072"><td class="memItemLeft" align="right" valign="top"><a id="aab70804a0b5849410e61f51a225d3072" name="aab70804a0b5849410e61f51a225d3072"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>ruleCount</b></td></tr>
|
||||
<tr class="memdesc:aab70804a0b5849410e61f51a225d3072"><td class="mdescLeft"> </td><td class="mdescRight">number of transition rules this state have <br /></td></tr>
|
||||
<tr class="separator:aab70804a0b5849410e61f51a225d3072"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aca9718d26eff08bb41418c5ec3442381"><td class="memItemLeft" align="right" valign="top"><a id="aca9718d26eff08bb41418c5ec3442381" name="aca9718d26eff08bb41418c5ec3442381"></a>
|
||||
<tr class="memitem:aca9718d26eff08bb41418c5ec3442381" id="r_aca9718d26eff08bb41418c5ec3442381"><td class="memItemLeft" align="right" valign="top"><a id="aca9718d26eff08bb41418c5ec3442381" name="aca9718d26eff08bb41418c5ec3442381"></a>
|
||||
struct <a class="el" href="../../d9/dd9/structtrans_rule.html">transRule</a> ** </td><td class="memItemRight" valign="bottom"><b>rules</b></td></tr>
|
||||
<tr class="memdesc:aca9718d26eff08bb41418c5ec3442381"><td class="mdescLeft"> </td><td class="mdescRight">the transition rules <br /></td></tr>
|
||||
<tr class="separator:aca9718d26eff08bb41418c5ec3442381"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
@ -134,7 +134,7 @@ struct <a class="el" href="../../d9/dd9/structtrans_rule.html">transRule</a> **&
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/d97/struct_n_f_a_state.html">NFAState</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: math/fibonacci_fast.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,10 +116,10 @@ Include dependency graph for fibonacci_fast.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a7a3d55bd19854075cba2eed6b63cb2d3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/fibonacci__fast_8c.html#a7a3d55bd19854075cba2eed6b63cb2d3">fib</a> (unsigned long n, unsigned long *C, unsigned long *D)</td></tr>
|
||||
<tr class="memitem:a7a3d55bd19854075cba2eed6b63cb2d3" id="r_a7a3d55bd19854075cba2eed6b63cb2d3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/fibonacci__fast_8c.html#a7a3d55bd19854075cba2eed6b63cb2d3">fib</a> (unsigned long n, unsigned long *C, unsigned long *D)</td></tr>
|
||||
<tr class="memdesc:a7a3d55bd19854075cba2eed6b63cb2d3"><td class="mdescLeft"> </td><td class="mdescRight">Get the \(n^{th}\) and \(n+1^{th}\) Fibonacci number using recursive half-interval decimation. <br /></td></tr>
|
||||
<tr class="separator:a7a3d55bd19854075cba2eed6b63cb2d3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/fibonacci__fast_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/fibonacci__fast_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">main function <br /></td></tr>
|
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -282,7 +282,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a class="el" href="../../d4/d99/fibonacci__fast_8c.html">fibonacci_fast.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: numerical_methods/ode_semi_implicit_euler.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -118,26 +118,26 @@ Include dependency graph for ode_semi_implicit_euler.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a9ceb646336224ee890a269d0b4600d09"><td class="memItemLeft" align="right" valign="top"><a id="a9ceb646336224ee890a269d0b4600d09" name="a9ceb646336224ee890a269d0b4600d09"></a>
|
||||
<tr class="memitem:a9ceb646336224ee890a269d0b4600d09" id="r_a9ceb646336224ee890a269d0b4600d09"><td class="memItemLeft" align="right" valign="top"><a id="a9ceb646336224ee890a269d0b4600d09" name="a9ceb646336224ee890a269d0b4600d09"></a>
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>order</b>   2</td></tr>
|
||||
<tr class="memdesc:a9ceb646336224ee890a269d0b4600d09"><td class="mdescLeft"> </td><td class="mdescRight">number of dependent variables in <a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a97075291390a68c262ed66e157a57eb4" title="Problem statement for a system with first-order differential equations.">problem</a> <br /></td></tr>
|
||||
<tr class="separator:a9ceb646336224ee890a269d0b4600d09"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a97075291390a68c262ed66e157a57eb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a> (const double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memitem:a97075291390a68c262ed66e157a57eb4" id="r_a97075291390a68c262ed66e157a57eb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a> (const double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memdesc:a97075291390a68c262ed66e157a57eb4"><td class="mdescLeft"> </td><td class="mdescRight">Problem statement for a system with first-order differential equations. <br /></td></tr>
|
||||
<tr class="separator:a97075291390a68c262ed66e157a57eb4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8caee977b26888d34040b122e0e28e3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a> (const double *x, double *y)</td></tr>
|
||||
<tr class="memitem:a8caee977b26888d34040b122e0e28e3a" id="r_a8caee977b26888d34040b122e0e28e3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a> (const double *x, double *y)</td></tr>
|
||||
<tr class="memdesc:a8caee977b26888d34040b122e0e28e3a"><td class="mdescLeft"> </td><td class="mdescRight">Exact solution of the problem. <br /></td></tr>
|
||||
<tr class="separator:a8caee977b26888d34040b122e0e28e3a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a720b7e995d2bbc615f94a2c7dbcf84eb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a720b7e995d2bbc615f94a2c7dbcf84eb">semi_implicit_euler_step</a> (double dx, double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memitem:a720b7e995d2bbc615f94a2c7dbcf84eb" id="r_a720b7e995d2bbc615f94a2c7dbcf84eb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a720b7e995d2bbc615f94a2c7dbcf84eb">semi_implicit_euler_step</a> (double dx, double *x, double *y, double *dy)</td></tr>
|
||||
<tr class="memdesc:a720b7e995d2bbc615f94a2c7dbcf84eb"><td class="mdescLeft"> </td><td class="mdescRight">Compute next step approximation using the semi-implicit-Euler method. <br /></td></tr>
|
||||
<tr class="separator:a720b7e995d2bbc615f94a2c7dbcf84eb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad80059877222f885b549f2d0a3dc6b55"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#ad80059877222f885b549f2d0a3dc6b55">semi_implicit_euler</a> (double dx, double x0, double x_max, double *y, char save_to_file)</td></tr>
|
||||
<tr class="memitem:ad80059877222f885b549f2d0a3dc6b55" id="r_ad80059877222f885b549f2d0a3dc6b55"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#ad80059877222f885b549f2d0a3dc6b55">semi_implicit_euler</a> (double dx, double x0, double x_max, double *y, char save_to_file)</td></tr>
|
||||
<tr class="memdesc:ad80059877222f885b549f2d0a3dc6b55"><td class="mdescLeft"> </td><td class="mdescRight">Compute approximation using the semi-implicit-Euler method in the given limits. <br /></td></tr>
|
||||
<tr class="separator:ad80059877222f885b549f2d0a3dc6b55"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
||||
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">Main Function. <br /></td></tr>
|
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -512,7 +512,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9c6faab82c22511b50177aa2e38e2780.html">numerical_methods</a></li><li class="navelem"><a class="el" href="../../d4/d99/ode__semi__implicit__euler_8c.html">ode_semi_implicit_euler.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -0,0 +1,140 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: _SYSTEM_HANDLE_INFORMATION Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Algorithms_in_C<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html','../../'); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-attribs">Data Fields</a> </div>
|
||||
<div class="headertitle"><div class="title">_SYSTEM_HANDLE_INFORMATION Struct Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a413f1b90bb02da6417b8a736bb94efe8" id="r_a413f1b90bb02da6417b8a736bb94efe8"><td class="memItemLeft" align="right" valign="top"><a id="a413f1b90bb02da6417b8a736bb94efe8" name="a413f1b90bb02da6417b8a736bb94efe8"></a>
|
||||
ULONG </td><td class="memItemRight" valign="bottom"><b>ProcessId</b></td></tr>
|
||||
<tr class="separator:a413f1b90bb02da6417b8a736bb94efe8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abf38df181510e37044a17a584da55194" id="r_abf38df181510e37044a17a584da55194"><td class="memItemLeft" align="right" valign="top"><a id="abf38df181510e37044a17a584da55194" name="abf38df181510e37044a17a584da55194"></a>
|
||||
UCHAR </td><td class="memItemRight" valign="bottom"><b>ObjectTypeNumber</b></td></tr>
|
||||
<tr class="separator:abf38df181510e37044a17a584da55194"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5f3726fbb51efafbf810aec5d6b4caaf" id="r_a5f3726fbb51efafbf810aec5d6b4caaf"><td class="memItemLeft" align="right" valign="top"><a id="a5f3726fbb51efafbf810aec5d6b4caaf" name="a5f3726fbb51efafbf810aec5d6b4caaf"></a>
|
||||
UCHAR </td><td class="memItemRight" valign="bottom"><b>Flags</b></td></tr>
|
||||
<tr class="separator:a5f3726fbb51efafbf810aec5d6b4caaf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aec91b3b926185ac5bc733657afbb0711" id="r_aec91b3b926185ac5bc733657afbb0711"><td class="memItemLeft" align="right" valign="top"><a id="aec91b3b926185ac5bc733657afbb0711" name="aec91b3b926185ac5bc733657afbb0711"></a>
|
||||
USHORT </td><td class="memItemRight" valign="bottom"><b>Handle</b></td></tr>
|
||||
<tr class="separator:aec91b3b926185ac5bc733657afbb0711"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa43457e1deb27860383baa5480ceec27" id="r_aa43457e1deb27860383baa5480ceec27"><td class="memItemLeft" align="right" valign="top"><a id="aa43457e1deb27860383baa5480ceec27" name="aa43457e1deb27860383baa5480ceec27"></a>
|
||||
PVOID </td><td class="memItemRight" valign="bottom"><b>Object</b></td></tr>
|
||||
<tr class="separator:aa43457e1deb27860383baa5480ceec27"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a37c48baee76491e250c10c1f14700554" id="r_a37c48baee76491e250c10c1f14700554"><td class="memItemLeft" align="right" valign="top"><a id="a37c48baee76491e250c10c1f14700554" name="a37c48baee76491e250c10c1f14700554"></a>
|
||||
ACCESS_MASK </td><td class="memItemRight" valign="bottom"><b>GrantedAccess</b></td></tr>
|
||||
<tr class="separator:a37c48baee76491e250c10c1f14700554"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>client_server/<a class="el" href="../../d4/d7a/fork_8h_source.html">fork.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/d9c/struct___s_y_s_t_e_m___h_a_n_d_l_e___i_n_f_o_r_m_a_t_i_o_n.html">_SYSTEM_HANDLE_INFORMATION</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_23/sol2.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -117,24 +117,24 @@ Include dependency graph for sol2.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a1aca7f530f82b27100262adba9e7556b"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#a1aca7f530f82b27100262adba9e7556b">get_perfect_number</a> (unsigned long N)</td></tr>
|
||||
<tr class="memitem:a1aca7f530f82b27100262adba9e7556b" id="r_a1aca7f530f82b27100262adba9e7556b"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#a1aca7f530f82b27100262adba9e7556b">get_perfect_number</a> (unsigned long N)</td></tr>
|
||||
<tr class="separator:a1aca7f530f82b27100262adba9e7556b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a34f4ad85151e3a43368ae67f42347f56"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#a34f4ad85151e3a43368ae67f42347f56">is_abundant</a> (unsigned long N)</td></tr>
|
||||
<tr class="memitem:a34f4ad85151e3a43368ae67f42347f56" id="r_a34f4ad85151e3a43368ae67f42347f56"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#a34f4ad85151e3a43368ae67f42347f56">is_abundant</a> (unsigned long N)</td></tr>
|
||||
<tr class="memdesc:a34f4ad85151e3a43368ae67f42347f56"><td class="mdescLeft"> </td><td class="mdescRight">Is the given number an abundant number (1) or not (0) <br /></td></tr>
|
||||
<tr class="separator:a34f4ad85151e3a43368ae67f42347f56"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac5d600bf3077f4188afc4c5cd2c40eaf"><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#ac5d600bf3077f4188afc4c5cd2c40eaf">get_next_abundant</a> (unsigned long N)</td></tr>
|
||||
<tr class="memitem:ac5d600bf3077f4188afc4c5cd2c40eaf" id="r_ac5d600bf3077f4188afc4c5cd2c40eaf"><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#ac5d600bf3077f4188afc4c5cd2c40eaf">get_next_abundant</a> (unsigned long N)</td></tr>
|
||||
<tr class="memdesc:ac5d600bf3077f4188afc4c5cd2c40eaf"><td class="mdescLeft"> </td><td class="mdescRight">Find the next abundant number after N and not including N. <br /></td></tr>
|
||||
<tr class="separator:ac5d600bf3077f4188afc4c5cd2c40eaf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3ab61b5a1c4f2288625d160aa0ea8478"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#a3ab61b5a1c4f2288625d160aa0ea8478">is_sum_of_abundant</a> (unsigned long N)</td></tr>
|
||||
<tr class="memitem:a3ab61b5a1c4f2288625d160aa0ea8478" id="r_a3ab61b5a1c4f2288625d160aa0ea8478"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#a3ab61b5a1c4f2288625d160aa0ea8478">is_sum_of_abundant</a> (unsigned long N)</td></tr>
|
||||
<tr class="memdesc:a3ab61b5a1c4f2288625d160aa0ea8478"><td class="mdescLeft"> </td><td class="mdescRight">check if a given number can be represented as a sum of two abundant numbers. <br /></td></tr>
|
||||
<tr class="separator:a3ab61b5a1c4f2288625d160aa0ea8478"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627" id="r_a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memdesc:a3c04138a5bfe5d72780bb7e82a18e627"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:af920a16d6ef69dd604b283f427892e06"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#af920a16d6ef69dd604b283f427892e06">abundant_flags</a> = NULL</td></tr>
|
||||
<tr class="memitem:af920a16d6ef69dd604b283f427892e06" id="r_af920a16d6ef69dd604b283f427892e06"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html#af920a16d6ef69dd604b283f427892e06">abundant_flags</a> = NULL</td></tr>
|
||||
<tr class="memdesc:af920a16d6ef69dd604b283f427892e06"><td class="mdescLeft"> </td><td class="mdescRight">This is the global array to be used to store a flag to identify if a particular number is abundant (1) or not (0). <br /></td></tr>
|
||||
<tr class="separator:af920a16d6ef69dd604b283f427892e06"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -458,7 +458,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_f75ccd45e00436eafed446b9b2682984.html">problem_23</a></li><li class="navelem"><a class="el" href="../../d4/dbd/problem__23_2sol2_8c.html">sol2.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: math/strong_number.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,13 +116,13 @@ Include dependency graph for strong_number.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a03654cadb0cfe1195810dbe5da0265b5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dcc/strong__number_8c.html#a03654cadb0cfe1195810dbe5da0265b5">isStrong</a> (int number)</td></tr>
|
||||
<tr class="memitem:a03654cadb0cfe1195810dbe5da0265b5" id="r_a03654cadb0cfe1195810dbe5da0265b5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dcc/strong__number_8c.html#a03654cadb0cfe1195810dbe5da0265b5">isStrong</a> (int number)</td></tr>
|
||||
<tr class="memdesc:a03654cadb0cfe1195810dbe5da0265b5"><td class="mdescLeft"> </td><td class="mdescRight">Check if given number is strong number or not. <br /></td></tr>
|
||||
<tr class="separator:a03654cadb0cfe1195810dbe5da0265b5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae1a3968e7947464bee7714f6d43b7002"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dcc/strong__number_8c.html#ae1a3968e7947464bee7714f6d43b7002">test</a> ()</td></tr>
|
||||
<tr class="memitem:ae1a3968e7947464bee7714f6d43b7002" id="r_ae1a3968e7947464bee7714f6d43b7002"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dcc/strong__number_8c.html#ae1a3968e7947464bee7714f6d43b7002">test</a> ()</td></tr>
|
||||
<tr class="memdesc:ae1a3968e7947464bee7714f6d43b7002"><td class="mdescLeft"> </td><td class="mdescRight">Test function. <br /></td></tr>
|
||||
<tr class="separator:ae1a3968e7947464bee7714f6d43b7002"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dcc/strong__number_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dcc/strong__number_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Driver Code. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -246,7 +246,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a class="el" href="../../d4/dcc/strong__number_8c.html">strong_number.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
<map id="client_server/tcp_full_duplex_client.c" name="client_server/tcp_full_duplex_client.c">
|
||||
<area shape="rect" id="Node000001" title="Client-side implementation of TCP Full Duplex Communication" alt="" coords="400,5,541,46"/>
|
||||
<area shape="rect" id="Node000001" title="Client-side implementation of TCP Full Duplex Communication" alt="" coords="455,5,596,46"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,88,120"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="400,42,103,96,102,91,399,37"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="454,40,297,63,103,96,102,91,296,58,453,34"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="112,94,176,120"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="400,46,191,96,190,91,399,41"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="455,42,191,96,190,91,454,37"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="200,94,285,120"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="414,49,292,91,290,86,413,44"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="309,94,373,120"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="440,49,375,88,372,84,437,44"/>
|
||||
<area shape="rect" id="Node000006" title=" " alt="" coords="398,94,458,120"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="462,48,444,82,439,79,458,45"/>
|
||||
<area shape="rect" id="Node000007" title=" " alt="" coords="482,94,545,120"/>
|
||||
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="483,45,502,79,497,82,479,48"/>
|
||||
<area shape="rect" id="Node000008" title=" " alt="" coords="569,94,633,120"/>
|
||||
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="505,44,570,84,568,88,502,49"/>
|
||||
<area shape="rect" id="Node000009" title=" " alt="" coords="657,94,753,120"/>
|
||||
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="530,44,656,86,655,91,528,49"/>
|
||||
<area shape="rect" id="Node000010" title=" " alt="" coords="778,94,867,120"/>
|
||||
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="542,40,764,90,763,95,541,45"/>
|
||||
<area shape="rect" id="Node000011" title=" " alt="" coords="892,94,959,120"/>
|
||||
<area shape="poly" id="edge10_Node000001_Node000011" title=" " alt="" coords="542,34,692,57,878,91,877,96,692,62,541,39"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="455,49,300,92,299,87,454,44"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="309,94,405,120"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="484,49,397,90,395,85,482,44"/>
|
||||
<area shape="rect" id="Node000006" title=" " alt="" coords="430,94,519,120"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="515,48,492,83,488,80,510,45"/>
|
||||
<area shape="rect" id="Node000007" title=" " alt="" coords="544,94,611,120"/>
|
||||
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="540,45,563,80,559,83,536,48"/>
|
||||
<area shape="rect" id="Node000008" title=" " alt="" coords="634,94,699,120"/>
|
||||
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="562,44,634,84,631,89,559,49"/>
|
||||
<area shape="rect" id="Node000009" title=" " alt="" coords="723,94,783,120"/>
|
||||
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="583,44,710,88,708,93,581,49"/>
|
||||
<area shape="rect" id="Node000010" title=" " alt="" coords="807,94,870,120"/>
|
||||
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="597,42,793,91,792,96,595,47"/>
|
||||
<area shape="rect" id="Node000011" title=" " alt="" coords="894,94,959,120"/>
|
||||
<area shape="poly" id="edge10_Node000001_Node000011" title=" " alt="" coords="597,36,725,59,880,91,879,96,724,64,596,41"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
4f625461a48bf6c4712ebbc7603ea167
|
||||
bfddb4da44d55b43ba31f02203e82e5f
|
|
@ -58,9 +58,9 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Client-side implementation of TCP Full Duplex Communication">
|
||||
<polygon fill="#999999" stroke="#666666" points="401.88,-85.75 295.88,-85.75 295.88,-55.25 401.88,-55.25 401.88,-85.75"/>
|
||||
<text text-anchor="start" x="303.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">client_server/tcp_full</text>
|
||||
<text text-anchor="middle" x="348.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_duplex_client.c</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="442.88,-85.75 336.88,-85.75 336.88,-55.25 442.88,-55.25 442.88,-85.75"/>
|
||||
<text text-anchor="start" x="344.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">client_server/tcp_full</text>
|
||||
<text text-anchor="middle" x="389.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_duplex_client.c</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -77,8 +77,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.48,-60.4C241.74,-51.11 156.19,-36 72.58,-19.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.35,-15.92 62.86,-17.41 71.99,-22.79 73.35,-15.92"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.38,-62.01C275.12,-53.22 171.49,-37.73 72.63,-19.49"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.32,-15.87 62.85,-17.48 72.04,-22.75 73.32,-15.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -95,8 +95,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.65,-57.24C255.15,-47.83 197.78,-34.33 138.97,-19.73"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.92,-16.11 129.37,-17.09 138.23,-22.91 139.92,-16.11"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.86,-59.92C287.84,-50.85 212.74,-36.41 138.77,-19.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.87,-16.02 129.34,-17.19 138.31,-22.84 139.87,-16.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -113,8 +113,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M306.17,-54.8C277.96,-45.08 241.38,-32.49 214.5,-23.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="215.95,-19.69 205.35,-19.74 213.67,-26.31 215.95,-19.69"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.93,-54.8C300.96,-44.81 254.01,-31.77 220.47,-22.45"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="221.65,-18.87 211.08,-19.57 219.77,-25.62 221.65,-18.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -122,8 +122,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="276,-19.25 227.75,-19.25 227.75,0 276,0 276,-19.25"/>
|
||||
<text text-anchor="middle" x="251.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdint.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="300,-19.25 227.75,-19.25 227.75,0 300,0 300,-19.25"/>
|
||||
<text text-anchor="middle" x="263.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/socket.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -131,8 +131,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M324.9,-54.95C309.99,-45.9 290.88,-34.3 275.95,-25.24"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="278.19,-21.9 267.83,-19.7 274.56,-27.88 278.19,-21.9"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M358.4,-54.8C338.39,-45.44 312.64,-33.41 293.08,-24.27"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.74,-20.72 284.2,-19.65 291.78,-27.06 294.74,-20.72"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -140,8 +140,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="339.5,-19.25 294.25,-19.25 294.25,0 339.5,0 339.5,-19.25"/>
|
||||
<text text-anchor="middle" x="316.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdio.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="385.38,-19.25 318.38,-19.25 318.38,0 385.38,0 385.38,-19.25"/>
|
||||
<text text-anchor="middle" x="351.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/types.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -149,8 +149,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge5_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.96,-54.95C336.75,-47.19 331.52,-37.56 327,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="329.66,-27.82 321.81,-20.7 323.51,-31.16 329.66,-27.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M380.48,-54.95C375.36,-47.02 368.98,-37.13 363.55,-28.71"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="366.1,-27.21 357.73,-20.7 360.22,-31 366.1,-27.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -158,8 +158,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="404.62,-19.25 357.12,-19.25 357.12,0 404.62,0 404.62,-19.25"/>
|
||||
<text text-anchor="middle" x="380.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdlib.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="454.12,-19.25 403.62,-19.25 403.62,0 454.12,0 454.12,-19.25"/>
|
||||
<text text-anchor="middle" x="428.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unistd.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -167,8 +167,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge6_Node000001_Node000007" class="edge">
|
||||
<title>Node1->Node7</title>
|
||||
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M356.79,-54.95C361,-47.19 366.23,-37.56 370.75,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="374.24,-31.16 375.94,-20.7 368.09,-27.82 374.24,-31.16"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M399.52,-54.95C404.77,-47.02 411.32,-37.13 416.9,-28.71"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="420.26,-30.97 422.86,-20.7 414.42,-27.11 420.26,-30.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -176,8 +176,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="471,-19.25 422.75,-19.25 422.75,0 471,0 471,-19.25"/>
|
||||
<text text-anchor="middle" x="446.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="520,-19.25 471.75,-19.25 471.75,0 520,0 520,-19.25"/>
|
||||
<text text-anchor="middle" x="495.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdint.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -185,8 +185,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge7_Node000001_Node000008" class="edge">
|
||||
<title>Node1->Node8</title>
|
||||
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M373.35,-54.8C388.42,-45.74 407.66,-34.19 422.67,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="424.08,-27.8 430.85,-19.65 420.47,-21.8 424.08,-27.8"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M416.35,-54.8C432.8,-45.66 453.85,-33.97 470.16,-24.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="471.58,-27.57 478.62,-19.65 468.18,-21.45 471.58,-27.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -194,8 +194,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="561,-19.25 488.75,-19.25 488.75,0 561,0 561,-19.25"/>
|
||||
<text text-anchor="middle" x="524.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/socket.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="583.5,-19.25 538.25,-19.25 538.25,0 583.5,0 583.5,-19.25"/>
|
||||
<text text-anchor="middle" x="560.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdio.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -203,8 +203,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge8_Node000001_Node000009" class="edge">
|
||||
<title>Node1->Node9</title>
|
||||
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M392.83,-54.8C421.99,-45.04 459.85,-32.38 487.55,-23.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="488.25,-26.23 496.62,-19.74 486.03,-19.59 488.25,-26.23"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M432.58,-54.8C462.1,-44.63 500.79,-31.31 527.93,-21.97"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="528.76,-25.04 537.08,-18.47 526.49,-18.42 528.76,-25.04"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -212,8 +212,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="646.38,-19.25 579.38,-19.25 579.38,0 646.38,0 646.38,-19.25"/>
|
||||
<text text-anchor="middle" x="612.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/types.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="648.62,-19.25 601.12,-19.25 601.12,0 648.62,0 648.62,-19.25"/>
|
||||
<text text-anchor="middle" x="624.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdlib.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -221,8 +221,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge9_Node000001_Node000010" class="edge">
|
||||
<title>Node1->Node10</title>
|
||||
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M402.3,-57.59C451.26,-46.67 522.89,-30.69 568.7,-20.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="569.19,-23.73 578.19,-18.14 567.67,-16.9 569.19,-23.73"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M442.95,-56.68C481.55,-47.28 535.33,-34.04 590.47,-19.84"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="590.97,-23.07 599.78,-17.18 589.22,-16.29 590.97,-23.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -230,8 +230,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="715.12,-19.25 664.62,-19.25 664.62,0 715.12,0 715.12,-19.25"/>
|
||||
<text text-anchor="middle" x="689.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unistd.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="715,-19.25 666.75,-19.25 666.75,0 715,0 715,-19.25"/>
|
||||
<text text-anchor="middle" x="690.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -239,8 +239,8 @@ var sectionId = 'dynsection-0';
|
|||
<g id="edge10_Node000001_Node000011" class="edge">
|
||||
<title>Node1->Node11</title>
|
||||
<g id="a_edge10_Node000001_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M402.1,-62.21C461.31,-53.78 559.99,-38.8 653.78,-19.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="654.23,-22.82 663.31,-17.36 652.81,-15.97 654.23,-22.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M443.24,-60.63C495.16,-51.75 576.49,-37.16 655.75,-19.61"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="656.42,-22.82 665.41,-17.22 654.89,-15.99 656.42,-22.82"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
@ -5,16 +5,16 @@
|
|||
-->
|
||||
<!-- Title: client_server/tcp_full_duplex_client.c Pages: 1 -->
|
||||
<svg width="723pt" height="94pt"
|
||||
viewBox="0.00 0.00 723.12 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
viewBox="0.00 0.00 723.00 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
|
||||
<title>client_server/tcp_full_duplex_client.c</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Client-side implementation of TCP Full Duplex Communication">
|
||||
<polygon fill="#999999" stroke="#666666" points="401.88,-85.75 295.88,-85.75 295.88,-55.25 401.88,-55.25 401.88,-85.75"/>
|
||||
<text text-anchor="start" x="303.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">client_server/tcp_full</text>
|
||||
<text text-anchor="middle" x="348.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_duplex_client.c</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="442.88,-85.75 336.88,-85.75 336.88,-55.25 442.88,-55.25 442.88,-85.75"/>
|
||||
<text text-anchor="start" x="344.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">client_server/tcp_full</text>
|
||||
<text text-anchor="middle" x="389.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_duplex_client.c</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -31,8 +31,8 @@
|
|||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.48,-60.4C241.74,-51.11 156.19,-36 72.58,-19.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.35,-15.92 62.86,-17.41 71.99,-22.79 73.35,-15.92"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.38,-62.01C275.12,-53.22 171.49,-37.73 72.63,-19.49"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.32,-15.87 62.85,-17.48 72.04,-22.75 73.32,-15.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -49,8 +49,8 @@
|
|||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.65,-57.24C255.15,-47.83 197.78,-34.33 138.97,-19.73"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.92,-16.11 129.37,-17.09 138.23,-22.91 139.92,-16.11"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.86,-59.92C287.84,-50.85 212.74,-36.41 138.77,-19.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.87,-16.02 129.34,-17.19 138.31,-22.84 139.87,-16.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -67,8 +67,8 @@
|
|||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M306.17,-54.8C277.96,-45.08 241.38,-32.49 214.5,-23.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="215.95,-19.69 205.35,-19.74 213.67,-26.31 215.95,-19.69"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M336.93,-54.8C300.96,-44.81 254.01,-31.77 220.47,-22.45"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="221.65,-18.87 211.08,-19.57 219.77,-25.62 221.65,-18.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -76,8 +76,8 @@
|
|||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="276,-19.25 227.75,-19.25 227.75,0 276,0 276,-19.25"/>
|
||||
<text text-anchor="middle" x="251.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdint.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="300,-19.25 227.75,-19.25 227.75,0 300,0 300,-19.25"/>
|
||||
<text text-anchor="middle" x="263.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/socket.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -85,8 +85,8 @@
|
|||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M324.9,-54.95C309.99,-45.9 290.88,-34.3 275.95,-25.24"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="278.19,-21.9 267.83,-19.7 274.56,-27.88 278.19,-21.9"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M358.4,-54.8C338.39,-45.44 312.64,-33.41 293.08,-24.27"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.74,-20.72 284.2,-19.65 291.78,-27.06 294.74,-20.72"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -94,8 +94,8 @@
|
|||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="339.5,-19.25 294.25,-19.25 294.25,0 339.5,0 339.5,-19.25"/>
|
||||
<text text-anchor="middle" x="316.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdio.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="385.38,-19.25 318.38,-19.25 318.38,0 385.38,0 385.38,-19.25"/>
|
||||
<text text-anchor="middle" x="351.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/types.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -103,8 +103,8 @@
|
|||
<g id="edge5_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.96,-54.95C336.75,-47.19 331.52,-37.56 327,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="329.66,-27.82 321.81,-20.7 323.51,-31.16 329.66,-27.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M380.48,-54.95C375.36,-47.02 368.98,-37.13 363.55,-28.71"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="366.1,-27.21 357.73,-20.7 360.22,-31 366.1,-27.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -112,8 +112,8 @@
|
|||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="404.62,-19.25 357.12,-19.25 357.12,0 404.62,0 404.62,-19.25"/>
|
||||
<text text-anchor="middle" x="380.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdlib.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="454.12,-19.25 403.62,-19.25 403.62,0 454.12,0 454.12,-19.25"/>
|
||||
<text text-anchor="middle" x="428.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unistd.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -121,8 +121,8 @@
|
|||
<g id="edge6_Node000001_Node000007" class="edge">
|
||||
<title>Node1->Node7</title>
|
||||
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M356.79,-54.95C361,-47.19 366.23,-37.56 370.75,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="374.24,-31.16 375.94,-20.7 368.09,-27.82 374.24,-31.16"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M399.52,-54.95C404.77,-47.02 411.32,-37.13 416.9,-28.71"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="420.26,-30.97 422.86,-20.7 414.42,-27.11 420.26,-30.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -130,8 +130,8 @@
|
|||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="471,-19.25 422.75,-19.25 422.75,0 471,0 471,-19.25"/>
|
||||
<text text-anchor="middle" x="446.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="520,-19.25 471.75,-19.25 471.75,0 520,0 520,-19.25"/>
|
||||
<text text-anchor="middle" x="495.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdint.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -139,8 +139,8 @@
|
|||
<g id="edge7_Node000001_Node000008" class="edge">
|
||||
<title>Node1->Node8</title>
|
||||
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M373.35,-54.8C388.42,-45.74 407.66,-34.19 422.67,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="424.08,-27.8 430.85,-19.65 420.47,-21.8 424.08,-27.8"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M416.35,-54.8C432.8,-45.66 453.85,-33.97 470.16,-24.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="471.58,-27.57 478.62,-19.65 468.18,-21.45 471.58,-27.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -148,8 +148,8 @@
|
|||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="561,-19.25 488.75,-19.25 488.75,0 561,0 561,-19.25"/>
|
||||
<text text-anchor="middle" x="524.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/socket.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="583.5,-19.25 538.25,-19.25 538.25,0 583.5,0 583.5,-19.25"/>
|
||||
<text text-anchor="middle" x="560.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdio.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -157,8 +157,8 @@
|
|||
<g id="edge8_Node000001_Node000009" class="edge">
|
||||
<title>Node1->Node9</title>
|
||||
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M392.83,-54.8C421.99,-45.04 459.85,-32.38 487.55,-23.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="488.25,-26.23 496.62,-19.74 486.03,-19.59 488.25,-26.23"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M432.58,-54.8C462.1,-44.63 500.79,-31.31 527.93,-21.97"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="528.76,-25.04 537.08,-18.47 526.49,-18.42 528.76,-25.04"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -166,8 +166,8 @@
|
|||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="646.38,-19.25 579.38,-19.25 579.38,0 646.38,0 646.38,-19.25"/>
|
||||
<text text-anchor="middle" x="612.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sys/types.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="648.62,-19.25 601.12,-19.25 601.12,0 648.62,0 648.62,-19.25"/>
|
||||
<text text-anchor="middle" x="624.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stdlib.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -175,8 +175,8 @@
|
|||
<g id="edge9_Node000001_Node000010" class="edge">
|
||||
<title>Node1->Node10</title>
|
||||
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M402.3,-57.59C451.26,-46.67 522.89,-30.69 568.7,-20.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="569.19,-23.73 578.19,-18.14 567.67,-16.9 569.19,-23.73"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M442.95,-56.68C481.55,-47.28 535.33,-34.04 590.47,-19.84"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="590.97,-23.07 599.78,-17.18 589.22,-16.29 590.97,-23.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -184,8 +184,8 @@
|
|||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="715.12,-19.25 664.62,-19.25 664.62,0 715.12,0 715.12,-19.25"/>
|
||||
<text text-anchor="middle" x="689.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unistd.h</text>
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="715,-19.25 666.75,-19.25 666.75,0 715,0 715,-19.25"/>
|
||||
<text text-anchor="middle" x="690.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string.h</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
@ -193,8 +193,8 @@
|
|||
<g id="edge10_Node000001_Node000011" class="edge">
|
||||
<title>Node1->Node11</title>
|
||||
<g id="a_edge10_Node000001_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M402.1,-62.21C461.31,-53.78 559.99,-38.8 653.78,-19.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="654.23,-22.82 663.31,-17.36 652.81,-15.97 654.23,-22.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M443.24,-60.63C495.16,-51.75 576.49,-37.16 655.75,-19.61"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="656.42,-22.82 665.41,-17.22 654.89,-15.99 656.42,-22.82"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.4 KiB |
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Graph Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,46 +110,46 @@ Collaboration diagram for Graph:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a6afcd41564ea00294a4c089414979ca1"><td class="memItemLeft" align="right" valign="top"><a id="a6afcd41564ea00294a4c089414979ca1" name="a6afcd41564ea00294a4c089414979ca1"></a>
|
||||
<tr class="memitem:a6afcd41564ea00294a4c089414979ca1" id="r_a6afcd41564ea00294a4c089414979ca1"><td class="memItemLeft" align="right" valign="top"><a id="a6afcd41564ea00294a4c089414979ca1" name="a6afcd41564ea00294a4c089414979ca1"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>vertexNum</b></td></tr>
|
||||
<tr class="separator:a6afcd41564ea00294a4c089414979ca1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a10ff9c6c323cf435f18e424dbb62235e"><td class="memItemLeft" align="right" valign="top"><a id="a10ff9c6c323cf435f18e424dbb62235e" name="a10ff9c6c323cf435f18e424dbb62235e"></a>
|
||||
<tr class="memitem:a10ff9c6c323cf435f18e424dbb62235e" id="r_a10ff9c6c323cf435f18e424dbb62235e"><td class="memItemLeft" align="right" valign="top"><a id="a10ff9c6c323cf435f18e424dbb62235e" name="a10ff9c6c323cf435f18e424dbb62235e"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>edgeNum</b></td></tr>
|
||||
<tr class="separator:a10ff9c6c323cf435f18e424dbb62235e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3535be2ce0d62152e54395951330da81"><td class="memItemLeft" align="right" valign="top"><a id="a3535be2ce0d62152e54395951330da81" name="a3535be2ce0d62152e54395951330da81"></a>
|
||||
<tr class="memitem:a3535be2ce0d62152e54395951330da81" id="r_a3535be2ce0d62152e54395951330da81"><td class="memItemLeft" align="right" valign="top"><a id="a3535be2ce0d62152e54395951330da81" name="a3535be2ce0d62152e54395951330da81"></a>
|
||||
struct <a class="el" href="../../d5/db4/struct_edge.html">Edge</a> * </td><td class="memItemRight" valign="bottom"><b>edges</b></td></tr>
|
||||
<tr class="separator:a3535be2ce0d62152e54395951330da81"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a72bb0a04571b49a568e0eed371a35c33"><td class="memItemLeft" align="right" valign="top"><a id="a72bb0a04571b49a568e0eed371a35c33" name="a72bb0a04571b49a568e0eed371a35c33"></a>
|
||||
<tr class="memitem:a72bb0a04571b49a568e0eed371a35c33" id="r_a72bb0a04571b49a568e0eed371a35c33"><td class="memItemLeft" align="right" valign="top"><a id="a72bb0a04571b49a568e0eed371a35c33" name="a72bb0a04571b49a568e0eed371a35c33"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>numVertices</b></td></tr>
|
||||
<tr class="separator:a72bb0a04571b49a568e0eed371a35c33"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaaffb7e0621115519a09be31a33c6cda"><td class="memItemLeft" align="right" valign="top"><a id="aaaffb7e0621115519a09be31a33c6cda" name="aaaffb7e0621115519a09be31a33c6cda"></a>
|
||||
<tr class="memitem:aaaffb7e0621115519a09be31a33c6cda" id="r_aaaffb7e0621115519a09be31a33c6cda"><td class="memItemLeft" align="right" valign="top"><a id="aaaffb7e0621115519a09be31a33c6cda" name="aaaffb7e0621115519a09be31a33c6cda"></a>
|
||||
struct <a class="el" href="../../d5/da1/structnode.html">node</a> ** </td><td class="memItemRight" valign="bottom"><b>adjLists</b></td></tr>
|
||||
<tr class="separator:aaaffb7e0621115519a09be31a33c6cda"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa3f9278e0b50fbec06b93cda9c733dfe"><td class="memItemLeft" align="right" valign="top"><a id="aa3f9278e0b50fbec06b93cda9c733dfe" name="aa3f9278e0b50fbec06b93cda9c733dfe"></a>
|
||||
<tr class="memitem:aa3f9278e0b50fbec06b93cda9c733dfe" id="r_aa3f9278e0b50fbec06b93cda9c733dfe"><td class="memItemLeft" align="right" valign="top"><a id="aa3f9278e0b50fbec06b93cda9c733dfe" name="aa3f9278e0b50fbec06b93cda9c733dfe"></a>
|
||||
int * </td><td class="memItemRight" valign="bottom"><b>visited</b></td></tr>
|
||||
<tr class="separator:aa3f9278e0b50fbec06b93cda9c733dfe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a268ba18d421817ad8713c2e92f19d82a"><td class="memItemLeft" align="right" valign="top"><a id="a268ba18d421817ad8713c2e92f19d82a" name="a268ba18d421817ad8713c2e92f19d82a"></a>
|
||||
<tr class="memitem:a268ba18d421817ad8713c2e92f19d82a" id="r_a268ba18d421817ad8713c2e92f19d82a"><td class="memItemLeft" align="right" valign="top"><a id="a268ba18d421817ad8713c2e92f19d82a" name="a268ba18d421817ad8713c2e92f19d82a"></a>
|
||||
int ** </td><td class="memItemRight" valign="bottom"><b>edges</b></td></tr>
|
||||
<tr class="separator:a268ba18d421817ad8713c2e92f19d82a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2b722f7cfa7a21e4cb5fae488b3d4dcc"><td class="memItemLeft" align="right" valign="top"><a id="a2b722f7cfa7a21e4cb5fae488b3d4dcc" name="a2b722f7cfa7a21e4cb5fae488b3d4dcc"></a>
|
||||
<tr class="memitem:a2b722f7cfa7a21e4cb5fae488b3d4dcc" id="r_a2b722f7cfa7a21e4cb5fae488b3d4dcc"><td class="memItemLeft" align="right" valign="top"><a id="a2b722f7cfa7a21e4cb5fae488b3d4dcc" name="a2b722f7cfa7a21e4cb5fae488b3d4dcc"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>V</b></td></tr>
|
||||
<tr class="separator:a2b722f7cfa7a21e4cb5fae488b3d4dcc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3ce250f958f7e96ffd9eb06780c21fbe"><td class="memItemLeft" align="right" valign="top"><a id="a3ce250f958f7e96ffd9eb06780c21fbe" name="a3ce250f958f7e96ffd9eb06780c21fbe"></a>
|
||||
<tr class="memitem:a3ce250f958f7e96ffd9eb06780c21fbe" id="r_a3ce250f958f7e96ffd9eb06780c21fbe"><td class="memItemLeft" align="right" valign="top"><a id="a3ce250f958f7e96ffd9eb06780c21fbe" name="a3ce250f958f7e96ffd9eb06780c21fbe"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>E</b></td></tr>
|
||||
<tr class="separator:a3ce250f958f7e96ffd9eb06780c21fbe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a14b3734eb135c40cf4401f22bda5bb76"><td class="memItemLeft" align="right" valign="top"><a id="a14b3734eb135c40cf4401f22bda5bb76" name="a14b3734eb135c40cf4401f22bda5bb76"></a>
|
||||
<tr class="memitem:a14b3734eb135c40cf4401f22bda5bb76" id="r_a14b3734eb135c40cf4401f22bda5bb76"><td class="memItemLeft" align="right" valign="top"><a id="a14b3734eb135c40cf4401f22bda5bb76" name="a14b3734eb135c40cf4401f22bda5bb76"></a>
|
||||
struct <a class="el" href="../../d5/db4/struct_edge.html">Edge</a> * </td><td class="memItemRight" valign="bottom"><b>edge</b></td></tr>
|
||||
<tr class="separator:a14b3734eb135c40cf4401f22bda5bb76"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following files:<ul>
|
||||
<li>data_structures/graphs/bellman_ford.c</li>
|
||||
<li>data_structures/graphs/bfs.c</li>
|
||||
<li>data_structures/graphs/dfs.c</li>
|
||||
<li>data_structures/graphs/dijkstra.c</li>
|
||||
<li>data_structures/graphs/floyd_warshall.c</li>
|
||||
<li>data_structures/graphs/kruskal.c</li>
|
||||
<li>data_structures/graphs/strongly_connected_components.c</li>
|
||||
<li>data_structures/graphs/topological_sort.c</li>
|
||||
<li>data_structures/graphs/<b>bellman_ford.c</b></li>
|
||||
<li>data_structures/graphs/<b>bfs.c</b></li>
|
||||
<li>data_structures/graphs/<b>dfs.c</b></li>
|
||||
<li>data_structures/graphs/<b>dijkstra.c</b></li>
|
||||
<li>data_structures/graphs/<b>floyd_warshall.c</b></li>
|
||||
<li>data_structures/graphs/<b>kruskal.c</b></li>
|
||||
<li>data_structures/graphs/<b>strongly_connected_components.c</b></li>
|
||||
<li>data_structures/graphs/<b>topological_sort.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -157,7 +157,7 @@ struct <a class="el" href="../../d5/db4/struct_edge.html">Edge</a> * </td><
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/dd4/struct_graph.html">Graph</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: trie Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -110,15 +110,15 @@ Collaboration diagram for trie:</div>
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:aff73550014e3ce896dc10f3f2140055c"><td class="memItemLeft" align="right" valign="top"><a id="aff73550014e3ce896dc10f3f2140055c" name="aff73550014e3ce896dc10f3f2140055c"></a>
|
||||
<tr class="memitem:aff73550014e3ce896dc10f3f2140055c" id="r_aff73550014e3ce896dc10f3f2140055c"><td class="memItemLeft" align="right" valign="top"><a id="aff73550014e3ce896dc10f3f2140055c" name="aff73550014e3ce896dc10f3f2140055c"></a>
|
||||
struct <a class="el" href="../../d4/dd9/structtrie.html">trie</a> * </td><td class="memItemRight" valign="bottom"><b>children</b> [ALPHABET_SIZE]</td></tr>
|
||||
<tr class="separator:aff73550014e3ce896dc10f3f2140055c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a686ba0b193c320f26c02c112dd22e32a"><td class="memItemLeft" align="right" valign="top"><a id="a686ba0b193c320f26c02c112dd22e32a" name="a686ba0b193c320f26c02c112dd22e32a"></a>
|
||||
<tr class="memitem:a686ba0b193c320f26c02c112dd22e32a" id="r_a686ba0b193c320f26c02c112dd22e32a"><td class="memItemLeft" align="right" valign="top"><a id="a686ba0b193c320f26c02c112dd22e32a" name="a686ba0b193c320f26c02c112dd22e32a"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>end_of_word</b></td></tr>
|
||||
<tr class="separator:a686ba0b193c320f26c02c112dd22e32a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>data_structures/trie/trie.c</li>
|
||||
<li>data_structures/trie/<b>trie.c</b></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
@ -126,7 +126,7 @@ bool </td><td class="memItemRight" valign="bottom"><b>end_of_word</b></td><
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/dd9/structtrie.html">trie</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: hash/hash_djb2.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -116,13 +116,13 @@ Include dependency graph for hash_djb2.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ga1ac362fa25f7c35d104205985f8e754b"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga1ac362fa25f7c35d104205985f8e754b">djb2</a> (const char *s)</td></tr>
|
||||
<tr class="memitem:ga1ac362fa25f7c35d104205985f8e754b" id="r_ga1ac362fa25f7c35d104205985f8e754b"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga1ac362fa25f7c35d104205985f8e754b">djb2</a> (const char *s)</td></tr>
|
||||
<tr class="memdesc:ga1ac362fa25f7c35d104205985f8e754b"><td class="mdescLeft"> </td><td class="mdescRight">DJB2 algorithm implementation. <br /></td></tr>
|
||||
<tr class="separator:ga1ac362fa25f7c35d104205985f8e754b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga9f76001544014905468dc812336110d5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga9f76001544014905468dc812336110d5">test_djb2</a> (void)</td></tr>
|
||||
<tr class="memitem:ga9f76001544014905468dc812336110d5" id="r_ga9f76001544014905468dc812336110d5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3b/group__hash.html#ga9f76001544014905468dc812336110d5">test_djb2</a> (void)</td></tr>
|
||||
<tr class="memdesc:ga9f76001544014905468dc812336110d5"><td class="mdescLeft"> </td><td class="mdescRight">Test function for <a class="el" href="../../d7/d3b/group__hash.html#ga1ac362fa25f7c35d104205985f8e754b" title="DJB2 algorithm implementation.">djb2</a>. <br /></td></tr>
|
||||
<tr class="separator:ga9f76001544014905468dc812336110d5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/de3/hash__djb2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/de3/hash__djb2_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -166,7 +166,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_72aaf47615111200018c039a56ef48be.html">hash</a></li><li class="navelem"><a class="el" href="../../d4/de3/hash__djb2_8c.html">hash_djb2.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: project_euler/problem_14/sol1.c File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -115,10 +115,10 @@ Include dependency graph for sol1.c:</div>
|
|||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a81c1df5c17cb16bcc16e346fcff6fa80"><td class="memItemLeft" align="right" valign="top">long long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dea/problem__14_2sol1_8c.html#a81c1df5c17cb16bcc16e346fcff6fa80">collatz</a> (long long start_num)</td></tr>
|
||||
<tr class="memitem:a81c1df5c17cb16bcc16e346fcff6fa80" id="r_a81c1df5c17cb16bcc16e346fcff6fa80"><td class="memItemLeft" align="right" valign="top">long long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dea/problem__14_2sol1_8c.html#a81c1df5c17cb16bcc16e346fcff6fa80">collatz</a> (long long start_num)</td></tr>
|
||||
<tr class="memdesc:a81c1df5c17cb16bcc16e346fcff6fa80"><td class="mdescLeft"> </td><td class="mdescRight">Computes the length of collatz sequence for a given starting number. <br /></td></tr>
|
||||
<tr class="separator:a81c1df5c17cb16bcc16e346fcff6fa80"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dea/problem__14_2sol1_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627" id="r_a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dea/problem__14_2sol1_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
||||
<tr class="memdesc:a3c04138a5bfe5d72780bb7e82a18e627"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -241,7 +241,7 @@ Here is the call graph for this function:</div>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_b3d331eabd4234f247030c297aaf021c.html">project_euler</a></li><li class="navelem"><a class="el" href="../../dir_aba97bf327db94061e830e9bc18e925d.html">problem_14</a></li><li class="navelem"><a class="el" href="../../d4/dea/problem__14_2sol1_8c.html">sol1.c</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C: Dict Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
|||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
|
@ -105,10 +105,10 @@ $(document).ready(function(){initNavTree('d4/dfe/struct_dict.html','../../'); in
|
|||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a2e14d738e06c60eebcc2eac274e6676e"><td class="memItemLeft" align="right" valign="top"><a id="a2e14d738e06c60eebcc2eac274e6676e" name="a2e14d738e06c60eebcc2eac274e6676e"></a>
|
||||
<tr class="memitem:a2e14d738e06c60eebcc2eac274e6676e" id="r_a2e14d738e06c60eebcc2eac274e6676e"><td class="memItemLeft" align="right" valign="top"><a id="a2e14d738e06c60eebcc2eac274e6676e" name="a2e14d738e06c60eebcc2eac274e6676e"></a>
|
||||
void * </td><td class="memItemRight" valign="bottom"><b>elements</b> [MAXELEMENTS]</td></tr>
|
||||
<tr class="separator:a2e14d738e06c60eebcc2eac274e6676e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:add3f42ea66e92ce457a243d7534f5654"><td class="memItemLeft" align="right" valign="top"><a id="add3f42ea66e92ce457a243d7534f5654" name="add3f42ea66e92ce457a243d7534f5654"></a>
|
||||
<tr class="memitem:add3f42ea66e92ce457a243d7534f5654" id="r_add3f42ea66e92ce457a243d7534f5654"><td class="memItemLeft" align="right" valign="top"><a id="add3f42ea66e92ce457a243d7534f5654" name="add3f42ea66e92ce457a243d7534f5654"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>number_of_elements</b></td></tr>
|
||||
<tr class="separator:add3f42ea66e92ce457a243d7534f5654"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
|
@ -121,7 +121,7 @@ int </td><td class="memItemRight" valign="bottom"><b>number_of_elements</b>
|
|||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d4/dfe/struct_dict.html">Dict</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
|