ISet Interface ============== Namespace :dn:ns:`ampl.Entities` Assemblies * AMPL ---- .. contents:: :local: Syntax ------ .. code-block:: csharp public interface ISet .. dn:interface:: ampl.Entities.ISet :hidden: .. dn:interface:: ampl.Entities.ISet Properties ---------- .. dn:interface:: ampl.Entities.ISet :noindex: :hidden: .. dn:property:: ampl.Entities.ISet.Arity :rtype: System.Int32 .. code-block:: csharp int Arity { get; } .. dn:property:: ampl.Entities.ISet.Indexarity :rtype: System.Int32 .. code-block:: csharp int Indexarity { get; } .. dn:property:: ampl.Entities.ISet.IndexingSets :rtype: System.String[] .. code-block:: csharp string[] IndexingSets { get; } .. dn:property:: ampl.Entities.ISet.IsScalar :rtype: System.Boolean .. code-block:: csharp bool IsScalar { get; } .. dn:property:: ampl.Entities.ISet.Members :rtype: System.Collections.Generic.IEnumerable{ampl.Tuple} .. code-block:: csharp IEnumerable Members { get; } .. dn:property:: ampl.Entities.ISet.Name :rtype: System.String .. code-block:: csharp string Name { get; } .. dn:property:: ampl.Entities.ISet.NumInstances :rtype: System.Int32 .. code-block:: csharp int NumInstances { get; } .. dn:property:: ampl.Entities.ISet.Size :rtype: System.Int32 .. code-block:: csharp int Size { get; } Methods ------- .. dn:interface:: ampl.Entities.ISet :noindex: :hidden: .. dn:method:: ampl.Entities.ISet.AsArray() :rtype: ampl.SetInstance[] .. code-block:: csharp SetInstance[] AsArray() .. dn:method:: ampl.Entities.ISet.Contains(ampl.Tuple) :type t: ampl.Tuple :rtype: System.Boolean .. code-block:: csharp bool Contains(Tuple t) .. dn:method:: ampl.Entities.ISet.Get(System.Object[]) :type index: System.Object[] :rtype: ampl.SetInstance .. code-block:: csharp SetInstance Get(params object[] index) .. dn:method:: ampl.Entities.ISet.Get(ampl.Tuple) :type t: ampl.Tuple :rtype: ampl.SetInstance .. code-block:: csharp SetInstance Get(Tuple t = null) .. dn:method:: ampl.Entities.ISet.GetEnumerator() :rtype: System.Collections.Generic.IEnumerator{ampl.SetInstance} .. code-block:: csharp IEnumerator GetEnumerator() .. dn:method:: ampl.Entities.ISet.GetValues() :rtype: ampl.DataFrame .. code-block:: csharp DataFrame GetValues() .. dn:method:: ampl.Entities.ISet.GetValues(System.String[]) :type suffixes: System.String[] :rtype: ampl.DataFrame .. code-block:: csharp DataFrame GetValues(params string[] suffixes) .. dn:method:: ampl.Entities.ISet.SetValues(System.Double[]) :type objects: System.Double[] .. code-block:: csharp void SetValues(double[] objects) .. dn:method:: ampl.Entities.ISet.SetValues(System.String[]) :type objects: System.String[] .. code-block:: csharp void SetValues(string[] objects) .. dn:method:: ampl.Entities.ISet.SetValues(ampl.DataFrame) :type data: ampl.DataFrame .. code-block:: csharp void SetValues(DataFrame data) .. dn:method:: ampl.Entities.ISet.SetValues(ampl.Tuple[]) :type objects: ampl.Tuple[] .. code-block:: csharp void SetValues(Tuple[] objects) .. dn:method:: ampl.Entities.ISet.ToString() :rtype: System.String .. code-block:: csharp string ToString()