Commit 0a00950a authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Fixed Doxygen comments - added missing 'return' statements to constructors

parent e6bec439
......@@ -77,12 +77,14 @@ module connection_m
!> Constructor of connection_t class
!! @param[in] input_neuron Pointer to the input neuron (instance of neuron_t)
!! @param[in] output_neuron Pointer to the output neuron (instance of neuron_t)
!! @return Pointer to the instance of the class connection_t
module procedure :: new_connection_2
!> Constructor of connection_t class
!! @param[in] input_neuron Pointer to the input neuron (instance of neuron_t)
!! @param[in] output_neuron Pointer to the output neuron (instance of neuron_t)
!! @param[in] weight Weight of the connection (real number)
!! @return Pointer to the instance of the class connection_t
module procedure :: new_connection_3
end interface connection_t
......@@ -104,12 +106,14 @@ module connection_m
!> Constructor of interval_connection_t class
!! @param[in] input_neuron Pointer to the input neuron (instance of neuron_t)
!! @param[in] output_neuron Pointer to the output neuron (instance of neuron_t)
!! @return Pointer to the instance of the class interval_connection_t
module procedure :: new_interval_connection_2
!> Constructor of interval_connection_t class
!! @param[in] input_neuron Pointer to the input neuron (instance of neuron_t)
!! @param[in] output_neuron Pointer to the output neuron (instance of neuron_t)
!! @param[in] weight Weight of the connection (real number)
!! @param[in] weight Weight of the connection (real number)
!! @return Pointer to the instance of the class interval_connection_t
module procedure :: new_interval_connection_3
end interface interval_connection_t
......@@ -129,6 +133,7 @@ module connection_m
!> Constructor of connection_t class
!! @param[in] input_neuron Pointer to the input neuron (instance of neuron_t)
!! @param[in] output_neuron Pointer to the output neuron (instance of neuron_t)
!! @return Pointer to the instance of the class connection_t
function new_connection_2(input_neuron, output_neuron) result(new_obj)
class(neuron_t), pointer, intent(in) :: input_neuron
class(neuron_t), pointer, intent(in) :: output_neuron
......@@ -157,6 +162,7 @@ module connection_m
!! @param[in] input_neuron Pointer to the input neuron (instance of neuron_t)
!! @param[in] output_neuron Pointer to the output neuron (instance of neuron_t)
!! @param[in] weight Weight of the connection (real number)
!! @return Pointer to the instance of the class connection_t
function new_connection_3(input_neuron, output_neuron, weight) result(new_obj)
class(neuron_t), pointer, intent(in) :: input_neuron
class(neuron_t), pointer, intent(in) :: output_neuron
......@@ -345,6 +351,7 @@ module connection_m
!> Constructor of interval_connection_t class
!! @param[in] input_neuron Pointer to the input neuron (instance of neuron_t)
!! @param[in] output_neuron Pointer to the output neuron (instance of neuron_t)
!! @return Pointer to the instance of the class interval_connection_t
function new_interval_connection_2(input_neuron, output_neuron) result(new_obj)
class(neuron_t), pointer, intent(in) :: input_neuron
class(neuron_t), pointer, intent(in) :: output_neuron
......@@ -370,6 +377,7 @@ module connection_m
!! @param[in] input_neuron Pointer to the input neuron (instance of neuron_t)
!! @param[in] output_neuron Pointer to the output neuron (instance of neuron_t)
!! @param[in] weight Weight of the connection (real number)
!! @return Pointer to the instance of the class interval_connection_t
function new_interval_connection_3(input_neuron, output_neuron, weight) result(new_obj)
class(neuron_t), pointer, intent(in) :: input_neuron
class(neuron_t), pointer, intent(in) :: output_neuron
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment