Commit db46407a by Gaspard Ducamp

[pyAgrum/doc] problematic ignore deleted/variables.i features restored

parent 618360e8
Pipeline #13745042 passed with stage
in 1 minute 51 seconds
%ignore gum::DAGmodel::property;
%ignore gum::DAGmodel::propertyWithDefault;
%ignore gum::DAGmodel::setProperty;
%feature("docstring") gum::DAGmodel::log10DomainSize
"
Returns
......
%ignore gum::Potential::populate;
%feature("docstring") gum::Potential
"
Class representing a potential.
......@@ -98,6 +96,13 @@ double
the entropy of the potential
"
%feature("docstring") gum::Potential::populate
"
Returns
-------
à Faire
"
%feature("docstring") gum::Potential::extract
"
create a new Potential extracted from self given a partial instantiation.
......
......@@ -504,8 +504,8 @@ def process_docstring(app, what, name, obj, options, lines):
def process_signature(app, what, name, obj, options, signature, return_annotation):
signature = substitution4swigautodoc(signature)
#return_annotation = substitution4swigautodoc(return_annotation)
return_annotation = None
return_annotation = substitution4swigautodoc(return_annotation)
#return_annotation = None
return signature, return_annotation
......
......@@ -8,4 +8,18 @@ gum::NodeSet -> set
Problèmes d'exceptions
----------------------
RangeVar.setMinVal(new_minval) (resp. setMaxVal(new_maxval)) ne renvoie pas d'erreur si new_minval>maxval (resp. new_maxval<minval)
\ No newline at end of file
RangeVar.setMinVal(new_minval) (resp. setMaxVal(new_maxval)) ne renvoie pas d'erreur si new_minval>maxval (resp. new_maxval<minval)
Problèmes avec doc de :
-----------------------
addLabel
addTick
%ignore gum::Potential::populate
%ignore gum::DAGmodel::property;
%ignore gum::DAGmodel::propertyWithDefault;
%ignore gum::DAGmodel::setProperty;
Utiliser un ignore, en plus de ne pas documenter la fonction, fait qu'elle n'est pas implémentée, ce qui pose problème dans les jeux de test
FillWith = populate ? Si oui il faut changer les tests.
Supprimer property et setProperty ?
\ No newline at end of file
......@@ -7,4 +7,16 @@
def __getitem__(self,label): # adding the y() function here
return self.index(label)
%}
}
\ No newline at end of file
}
%feature("shadow") gum::LabelizedVariable::addLabel(const std::string aLabel) %{
def addLabel(self,*args):
$action(self,*args)
return self
%}
%feature("shadow") gum::DiscretizedVariable<double>::addTick(const double& aTick) %{
def addTick(self,*args):
$action(self,*args)
return self
%}
\ No newline at end of file
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