Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for Ford (0.14 sec)

  1. factory/src/main/java/com/iluwatar/factory/Ford.java

     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     * THE SOFTWARE.
     */
    
    package com.iluwatar.factory;
    
    /**
     * Ford implementation.
     */
    public class Ford implements Car {
    
      static final String DESCRIPTION = "This is Ford.";
    
      @Override
      public String getDescription() {
        return DESCRIPTION;
      }
    Java
    - Registered: 2020-11-27 18:54
    - Last Modified: 2020-10-04 11:17
    - 1.3K bytes
    - Viewed (0)
  2. networking_flow/ford_fulkerson.py

    # Ford-Fulkerson Algorithm for Maximum Flow Problem
    """
    Description:
        (1) Start with initial flow as 0;
        (2) Choose augmenting path from source to sink and add path to flow;
    """
    
    
    def BFS(graph, s, t, parent):
        # Return True if there is node that has not iterated.
        visited = [False] * len(graph)
        queue = []
        queue.append(s)
        visited[s] = True
    
        while queue:
            u = queue.pop(0)
    Python
    - Registered: 2020-11-26 19:18
    - Last Modified: 2020-05-22 06:10
    - 1.5K bytes
    - Viewed (0)
  3. graphs/bellman_ford.py

    Christian Clauss <******@****.***> 1600860613 +0200
    Python
    - Registered: 2020-11-26 19:18
    - Last Modified: 2020-09-23 11:30
    - 1.6K bytes
    - Viewed (0)
  4. factory/README.md

    > returns objects of a varying prototype or class.
    
    **Programmatic Example**
    
    We have an interface `Car` and two implementations `Ford` and `Ferrari`.
    
    ```java
    public interface Car {
      String getDescription();
    }
    
    public class Ford implements Car {
    
      static final String DESCRIPTION = "This is Ford.";
    
      @Override
      public String getDescription() {
        return DESCRIPTION;
      }
    }
    
    Plain Text
    - Registered: 2020-11-27 18:54
    - Last Modified: 2020-09-06 16:56
    - 3.1K bytes
    - Viewed (0)
  5. factory/etc/factory.urm.puml

      }
      ~enum CarType {
        + FERRARI {static}
        + FORD {static}
        + valueOf(name : String) : CarType {static}
        + values() : CarType[] {static}
      }
      class Ferrari {
        ~ DESCRIPTION : String {static}
        + Ferrari()
        + getDescription() : String
      }
      class Ford {
        ~ DESCRIPTION : String {static}
        + Ford()
        + getDescription() : String
      }
    }
    CarType ..+ CarsFactory
    Plain Text
    - Registered: 2020-11-27 18:54
    - Last Modified: 2020-09-03 21:08
    - 715 bytes
    - Viewed (0)
  6. free-programming-books-hu.md

    * [Bevezetés a wxPythonba](http://mek.oszk.hu/08400/08446/index.phtml) - Jeremy Berthet, Gilles Doge, ford.: Daróczy Péter (PDF)
    Plain Text
    - Registered: 2020-11-25 19:30
    - Last Modified: 2020-10-23 15:46
    - 5.7K bytes
    - Viewed (0)
  7. 暑期课/acm-icpc暑期课/acm-icpc暑期课_最短路.pdf

     使用邻接表存储图,复杂度O(n*e) 
     
     使用邻接矩阵存储图,复杂度为O(n3); 
    27 
    Bellman-Ford算法改进 
     
    Bellman-Ford算法不一定要循环n-1次,n为顶点个数 
     
    只要在某次循环过程中,考虑每条边后,源点到所有顶点的最短路径
    长度都没有变,那么Bellman-Ford算法就可以提前结束了 
    28 
    例题 
     POJ 1860 3259 2240 
     
    SPFA算法 
    Shortest Path Faster Algorithm 
     
     
     
    30 
    SPFA算法 
     
     快速求解含负权边的带权有向图的单源最短路径问题 
     是Bellman-Ford算法的改进版,利用队列动态更新dist[] 
    31 
    维护一个队列,里面存放所有需要进行迭代的点。初始时队列中只有一个
    PDF
    - Registered: 2020-11-29 02:06
    - Last Modified: 2018-11-23 06:15
    - 964.9K bytes
    - Viewed (0)
  8. factory/src/main/java/com/iluwatar/factory/CarType.java

     * THE SOFTWARE.
     */
    
    package com.iluwatar.factory;
    
    import java.util.function.Supplier;
    
    public enum CarType {
      
      /**
       * Enumeration for different types of cars.
       */
      FORD(Ford::new), 
      FERRARI(Ferrari::new);
      
      private final Supplier<Car> constructor; 
      
      CarType(Supplier<Car> constructor) {
        this.constructor = constructor;
      }
      
      public Supplier<Car> getConstructor() {
    Java
    - Registered: 2020-11-27 18:54
    - Last Modified: 2020-10-04 11:17
    - 1.5K bytes
    - Viewed (0)
  9. src/components-examples/material/select/select-initial-value/select-initial-value-example.ts

      foods: Food[] = [
        {value: 'steak-0', viewValue: 'Steak'},
        {value: 'pizza-1', viewValue: 'Pizza'},
        {value: 'tacos-2', viewValue: 'Tacos'}
      ];
      cars: Car[] = [
        {value: 'ford', viewValue: 'Ford'},
        {value: 'chevrolet', viewValue: 'Chevrolet'},
        {value: 'dodge', viewValue: 'Dodge'}
      ];
      selectedFood = this.foods[2].value;
      selectedCar = this.cars[0].value;
    
      selectCar(event: Event) {
    Plain Text
    - Registered: 2020-11-29 16:47
    - Last Modified: 2020-07-17 19:40
    - 857 bytes
    - Viewed (0)
  10. runtime/ftplugin/mma.vim

    " Vim filetype plugin file
    " Language:	Mathematica
    " Maintainer:	Ian Ford <******@****.***>
    " Last Change:	22 January 2019
    
    " Only do this when not done yet for this buffer
    if exists("b:did_ftplugin")
    	finish
    endif
    
    " Don't load another plugin for this buffer
    let b:did_ftplugin = 1
    
    let b:undo_ftplugin = "setlocal commentstring<"
    
    Plain Text
    - Registered: 2020-11-23 09:55
    - Last Modified: 2019-01-26 16:41
    - 366 bytes
    - Viewed (0)
Back to top