Beispiel #1
0
        public override bool Equals(object obj)
        {
            EdgeBasis otherEdgeBasis = obj as EdgeBasis;

            if (otherEdgeBasis == null)
            {
                return(false);
            }

            if (otherEdgeBasis.localEdge != this.localEdge)
            {
                return(false);
            }

            return(base.Equals(obj));
        }
Beispiel #2
0
        public override bool IsSubBasis(Basis other)
        {
            EdgeBasis otherEdgeBasis = other as EdgeBasis;

            if (otherEdgeBasis == null)
            {
                return(false);
            }

            if (otherEdgeBasis.localEdge != this.localEdge)
            {
                return(false);
            }

            return(base.IsSubBasis(other));
        }
Beispiel #3
0
 internal GradientCache(NodeSetController owner, EdgeBasis edgeBasis)
     : base(owner)
 {
     this.edgeBasis = edgeBasis;
 }
Beispiel #4
0
 public ValueCache(NodeSetController owner, EdgeBasis edgeBasis)
     : base(owner)
 {
     this.edgeBasis = edgeBasis;
 }
Beispiel #5
0
 public MonomialCache(NodeSetController owner, EdgeBasis edgeBasis)
     : base(owner)
 {
     this.edgeBasis = edgeBasis;
 }
Beispiel #6
0
 public EdgeNodeCache(NodeSetController owner, EdgeBasis edgeBasis, int localEdge)
     : base(owner)
 {
     this.edgeBasis = edgeBasis;
     this.localEdge = localEdge;
 }