Did you know ... | Search Documentation: |
Pack logtalk -- logtalk-3.85.0/docs/_sources/doc_metric_0.rst.txt |
.. index:: doc_metric .. _doc_metric/0:
.. rst-class:: right
object
doc_metric
Entity and entity predicates documentation score.
| Availability:
| logtalk_load(code_metrics(loader))
| Author: Paulo Moura | Version: 0:13:0 | Date: 2022-05-05
| Compilation flags:
| static, context_switching_calls
| Imports:
| public
:ref:`code_metrics_utilities <code_metrics_utilities/0>`
| public
:ref:`code_metric <code_metric/0>`
| Uses:
| :ref:`list <list/0>`
| :ref:`numberlist <numberlist/0>`
| Remarks:
| Inherited public predicates: | Â :ref:`code_metric/0::all/0` Â :ref:`code_metric/0::all/1` Â :ref:`code_metric/0::all_score/1` Â :ref:`options_protocol/0::check_option/1` Â :ref:`options_protocol/0::check_options/1` Â :ref:`options_protocol/0::default_option/1` Â :ref:`options_protocol/0::default_options/1` Â :ref:`code_metric/0::directory/1` Â :ref:`code_metric/0::directory/2` Â :ref:`code_metric/0::directory_score/2` Â :ref:`code_metric/0::entity/1` Â :ref:`code_metric/0::entity_score/2` Â :ref:`code_metric/0::file/1` Â :ref:`code_metric/0::file/2` Â :ref:`code_metric/0::file_score/2` Â :ref:`code_metric/0::format_entity_score//2` Â :ref:`code_metric/0::library/1` Â :ref:`code_metric/0::library/2` Â :ref:`code_metric/0::library_score/2` Â :ref:`options_protocol/0::option/2` Â :ref:`options_protocol/0::option/3` Â :ref:`code_metric/0::rdirectory/1` Â :ref:`code_metric/0::rdirectory/2` Â :ref:`code_metric/0::rdirectory_score/2` Â :ref:`code_metric/0::rlibrary/1` Â :ref:`code_metric/0::rlibrary/2` Â :ref:`code_metric/0::rlibrary_score/2` Â :ref:`options_protocol/0::valid_option/1` Â :ref:`options_protocol/0::valid_options/1` Â
.. contents:: :local: :backlinks: top
.. index:: entity_predicates_weights_hook/2 .. _doc_metric/0::entity_predicates_weights_hook/2:
entity_predicates_weights_hook/2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Relative weight between entity documentation and predicates documentation in percentage. The sum of the two values must be equal to 100.
| Compilation flags:
| dynamic, multifile
| Template:
| entity_predicates_weights_hook(EntityWeight,PredicatesWeight)
| Mode and number of proofs:
| entity_predicates_weights_hook(?integer,?integer)
- zero_or_one
.. index:: entity_info_score_hook/2 .. _doc_metric/0::entity_info_score_hook/2:
entity_info_score_hook/2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Maximum score for entity info/1 directives.
| Compilation flags:
| dynamic, multifile
| Template:
| entity_info_score_hook(Entity,MaximumScore)
| Mode and number of proofs:
| entity_info_score_hook(?term,?integer)
- zero_or_one
.. index:: entity_info_pair_score_hook/3 .. _doc_metric/0::entity_info_pair_score_hook/3:
entity_info_pair_score_hook/3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Score for relevant entity info/1 directive pairs. If defined, the entity_info_score_hook/2 predicate should be defined accordingly.
| Compilation flags:
| dynamic, multifile
| Template:
| entity_info_pair_score_hook(Pair,Entity,Score)
| Mode and number of proofs:
| entity_info_pair_score_hook(?callable,?term,?integer)
- zero_or_more
.. index:: predicate_mode_score_hook/3 .. _doc_metric/0::predicate_mode_score_hook/3:
predicate_mode_score_hook/3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Maximum score for predicate mode/2 directives.
| Compilation flags:
| dynamic, multifile
| Template:
| predicate_mode_score_hook(Entity,Predicate,MaximumScore)
| Mode and number of proofs:
| predicate_mode_score_hook(?term,?term,?integer)
- zero_or_more
.. index:: predicate_mode_score_hook/5 .. _doc_metric/0::predicate_mode_score_hook/5:
predicate_mode_score_hook/5 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Score for a predicate mode/2 directive. If defined, the predicate_mode_score_hook/3 predicate should be defined accordingly.
| Compilation flags:
| dynamic, multifile
| Template:
| predicate_mode_score_hook(Template,Solutions,Entity,Predicate,Score)
| Mode and number of proofs:
| predicate_mode_score_hook(?term,?term,?term,?term,?integer)
- zero_or_one
.. index:: predicate_info_score_hook/3 .. _doc_metric/0::predicate_info_score_hook/3:
predicate_info_score_hook/3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Maximum score for predicate info/2 directives.
| Compilation flags:
| dynamic, multifile
| Template:
| predicate_info_score_hook(Entity,Predicate,MaximumScore)
| Mode and number of proofs:
| predicate_info_score_hook(?term,?term,?integer)
- zero_or_one
.. index:: predicate_info_pair_score_hook/4 .. _doc_metric/0::predicate_info_pair_score_hook/4:
predicate_info_pair_score_hook/4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Score for a predicate info/2 directive pairs. If defined, the predicate_info_score_hook/3 predicate should be defined accordingly.
| Compilation flags:
| dynamic, multifile
| Template:
| predicate_info_pair_score_hook(Pair,Entity,Predicate,Score)
| Mode and number of proofs:
| predicate_info_pair_score_hook(?callable,?term,?term,?integer)
- zero_or_more
(no local declarations; see entity ancestors if any)
(no local declarations; see entity ancestors if any)
(none)