ISet Interface¶
- Namespace
- Assemblies
AMPL
Syntax¶
public interface ISet
- interface ampl.Entities.ISet
Properties¶
- ampl.Entities.ISet.Arity¶
- Return type
System.Int32
int Arity { get; }
- ampl.Entities.ISet.Indexarity¶
- Return type
System.Int32
int Indexarity { get; }
- ampl.Entities.ISet.IndexingSets¶
- Return type
System.String<System.String>[]
string[] IndexingSets { get; }
- ampl.Entities.ISet.IsScalar¶
- Return type
System.Boolean
bool IsScalar { get; }
- ampl.Entities.ISet.Members¶
- Return type
System.Collections.Generic.IEnumerable<ampl.Tuple>
IEnumerable<Tuple> Members { get; }
- ampl.Entities.ISet.Name¶
- Return type
System.String
string Name { get; }
- ampl.Entities.ISet.NumInstances¶
- Return type
System.Int32
int NumInstances { get; }
- ampl.Entities.ISet.Size¶
- Return type
System.Int32
int Size { get; }
Methods¶
- AsArray()¶
- Return type
ampl.SetInstance<ampl.SetInstance>[]
SetInstance[] AsArray()
- Contains(ampl.Tuple)¶
- Return type
System.Boolean
bool Contains(Tuple t)
- Get(System.Object[])¶
- Return type
SetInstance Get(params object[] index)
- Get(ampl.Tuple)
- Return type
SetInstance Get(Tuple t = null)
- GetEnumerator()¶
- Return type
System.Collections.Generic.IEnumerator<ampl.SetInstance>
IEnumerator<SetInstance> GetEnumerator()
- GetValues()¶
- Return type
DataFrame GetValues()
- GetValues(System.String[])
- Return type
DataFrame GetValues(params string[] suffixes)
- SetValues(System.Double[])¶
void SetValues(double[] objects)
- SetValues(System.String[])
void SetValues(string[] objects)
- SetValues(ampl.DataFrame)
void SetValues(DataFrame data)
- SetValues(ampl.Tuple[])
void SetValues(Tuple[] objects)
- ToString()¶
- Return type
System.String
string ToString()