class EL_NUMERIC_MINIMUM_ACTION

(source code)

description

Action to find minimum value for a list of NUMERIC values

note
	description: "Action to find minimum value for a list of ${NUMERIC} values"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2025-04-16 10:51:35 GMT (Wednesday 16th April 2025)"
	revision: "1"

class
	EL_NUMERIC_MINIMUM_ACTION [G, N -> NUMERIC]

inherit
	EL_NUMERIC_ACTION [G, N]

create
	make

feature {NONE} -- Initialization

	initialize
		do
			number.set_to_max_value
		end

feature -- Basic operations

	do_with (item: G)
		do
			number.set_min (new_value (item))
		end

end